Shape 5

Joomla Templates => Hexicon Gamer - Club => : 8kg5maybe June 30, 2012, 05:58:48 AM



: Jquery conflict
: 8kg5maybe 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.



: Re: Jquery conflict
: pmiddleton June 30, 2012, 07:02:41 AM
Are you loading jquery in noconfilcts mode?

See here -

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


: Re: Jquery conflict
: 8kg5maybe 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.


: Re: Jquery conflict
: pmiddleton 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.