Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3165 closed bug (duplicate)

problem using jquery + scriptaculous/prototype

Reported by: kevinbp Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:


Hi everyone,

I'm trying to have a double javascript effect on one page using jquery for the menu on the right and something call "scriptaculous" to have a shadow effect on the pictures when you clik on them. Here is the address of the page where you can see the menu working but not the shadowbox effect : http://danwor.com/site/photos.htm and here where you can see the shadowbox effect by cliking on the pictures : http://danwor.com/site2/photos.htm. So, it looks like these two lines (for the menu on the right) are making the shadowbox effect not working :

<script type="text/javascript" src=" js/jquery.js"></script> <script type="text/javascript" src="js/ascenseur.js"></script>

So, I tried the "jQuery.noConflict()" at this page: http://docs.jquery.com/Using_jQuery_with_Other_Libraries but didn't know how to make things work.

Do you know how to solve this problem ?


Change History (2)

comment:1 Changed 15 years ago by flesler

Resolution: duplicate
Status: newclosed

This was already reported. It happens when you mix jQuery 1.2.6 with effect.js from Scriptaculous.

We'll try to patch this for 1.3. You can either use jQuery 1.2.3, or patch/change effects.js.

comment:2 Changed 15 years ago by flesler

I did some research... Scriptaculous 1.8.x plays well with jQuery. So you can just update your scriptaculous instead.

Note: See TracTickets for help on using tickets.