PDA

View Full Version : Jquery problem please to help,


shanfari
05-14-2010, 10:19 PM
hello,

I do slide show in my website by Jquery code,It's work fine in all the pages of the site just the forum.php ,it's not working I check the source of the page I found coz, there is other Jquery code in this page which is :

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> <script type="text/javascript"> <!--
$(function()
{
$('.subforumlist').removeClass('commalist');
$('.subforumlist').addClass('column2');
$('.forumdata').addClass('forumdata');
$('.datacontainer').addClass('datacontainer');


I search every where in the template I didn't find this code where I can found it, or how can I add jquery code to my site with out this problem.:confused:

vespillo
05-17-2010, 03:58 PM
Not sure where that code is coming from (probably an addon), but you should read this.. it will probably help you: http://docs.jquery.com/Using_jQuery_with_Other_Libraries#Overriding_the_. 24-function

Essentially, you call jquery.noconflict first as a variable and then use that instead of $. That should hopefully stop breaking it for you.