Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1524 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Multiple jquery codes interrupting each other (help)

Thread title: Multiple jquery codes interrupting each other (help)
Reply    
    Thread tools Search this thread Display Modes  
06-18-2009, 06:58 AM
#1
jorge05r is offline jorge05r
jorge05r's Avatar
Status: Junior Member
Join date: Sep 2006
Location: Miami
Expertise:
Software:
 
Posts: 55
iTrader: 0 / 0%
 

jorge05r is on a distinguished road

Send a message via AIM to jorge05r Send a message via MSN to jorge05r Send a message via Yahoo to jorge05r

  Old  Multiple jquery codes interrupting each other (help)

I'm working on a site which has a jquery drop down menu and a left column with sliding tabs.

One has jquery-1.2.3.min.js and the other jquery-1.3.2.min.js but when I have both at the same time, the drop down stops working and vice versa.

What is the best way to have multiple jquery scripts/codes without one interrupting the other one from working properly?

Reply With Quote
06-18-2009, 08:51 AM
#2
Immersion is offline Immersion
Status: Senior Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 918
iTrader: 5 / 100%
 

Immersion is on a distinguished road

  Old

Use jQuery.noConflict(); would probably work, also why can't you just use one of them. It's probably easier to just slightly change the old script to use 1.3.2 if it doesnt work already. That way the user only loads 1 js file not 2 which will speed up your site and 1.3.2 is alot faster than 1.2.3. It would only take abit of debugging to check if it worked using something like firebug and replace a function maybe with the updated equivalent.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed