Forum Support

Shape 5
March 29, 2024, 12:42:49 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Jquery conflict  (Read 493 times)
8kg5maybe
Jr. Member
**
Offline Offline

Posts: 20



« on: June 30, 2012, 05:58:48 AM »

Hello.

Is there any way to turn jquery.min.js on specific site in hexicon_gamer?
I make my own css+jquery table, and if i wan't it to run i place on top the file (in K2 addon) this line :

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

Then, my table is working fine, but others jquery things not (s5_box for ex). I tried change source of jquery.min.js to files in hexicon template, but nothing change. So i ask again: is there any way to turn load jquery.min.js on specific site ( i need to load it in item.php - K2 addon).

Sorry for bad language.

Regards.

Logged
pmiddleton
Global Moderator
*****
Offline Offline

Posts: 2097



« Reply #1 on: June 30, 2012, 07:02:41 AM »

Are you loading jquery in noconfilcts mode?

See here -

http://api.jquery.com/jQuery.noConflict/
Logged

Paul
------------
Shape 5 Team


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
8kg5maybe
Jr. Member
**
Offline Offline

Posts: 20



« Reply #2 on: June 30, 2012, 08:05:47 AM »

Yes, i placed "jQuery.noConflict();" at the top of my script and replace all "$" to "jQuery", but nothing changed.
« Last Edit: June 30, 2012, 10:00:52 AM by 8kg5maybe » Logged
pmiddleton
Global Moderator
*****
Offline Offline

Posts: 2097



« Reply #3 on: July 02, 2012, 07:08:25 AM »

The template doesn't include any overrides for K2 content, so wouldn't affect the content of these modules. You may be better to ask in the K2 forums.
Logged

Paul
------------
Shape 5 Team


- Using Firebug will save you so much time, frustration and forum questions:
http://getfirebug.com/


- Need some custom coding done on your site? Use our Shape 5 Hire a Coder program for free:
http://www.shape5.com/hire_a_coder/listauctions
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.