Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 10-22-2010 01:55:15

btwebmedia
Member
Registered: 08-25-2010
Posts: 150

Solved: Lightbox not working due to jquery

I was having the same problem as others with lightbox not working because of jquery code. I simply added this piece of code in my skin.php just before the closing </head> tag and everything is ALL GOOD now.

<script type="text/javascript">
  $.noConflict();
  // Code that uses other library's $ can follow here.
</script>

Offline

 

#2 10-25-2010 20:58:00

KryptoJim
Member
Registered: 07-08-2010
Posts: 455

Re: Solved: Lightbox not working due to jquery

Thank you for posting this.  I know it's a common issue for those who modify their installations.

Offline

 

#3 05-04-2011 02:21:58

121NetDesign
Member
From: Surrey, UK
Registered: 05-10-2007
Posts: 427

Re: Solved: Lightbox not working due to jquery

Hi Guys

I.m afraid to say this does not fix the issue with me.

The moment you link to jQuery script, it breaks the lightbox.

Is it possible to use a different lightbox script with CCP?

Does anyone know of another fix?

All I want to do is implement jQuery tabs with my product descriptions with the lighbox working as it should.

Thanks in Advance!

Last edited by 121NetDesign (05-04-2011 04:17:44)


Tommy Lee

Offline

 

#4 05-04-2011 04:39:35

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: Solved: Lightbox not working due to jquery

Read the jquery noconflict documentation to see how to use it properly. It allows you to put the jquery object in a variable other than $ so that the $ variable is available to other libraries like mootools which is what CCP uses for the lightbox.


Latest CCP 7 XMods Available:


Offline

 

Board footer