Skip to main content

Bug Tracker

Side navigation

#3165 closed bug (duplicate)

Opened July 16, 2008 05:14PM UTC

Closed July 22, 2008 01:34AM UTC

Last modified July 22, 2008 02:13AM UTC

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:
Description

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 ?

Kevin

Attachments (0)
Change History (2)

Changed July 22, 2008 01:34AM UTC by flesler comment:1

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.

Changed July 22, 2008 02:13AM UTC by flesler comment:2

I did some research...

Scriptaculous 1.8.x plays well with jQuery.

So you can just update your scriptaculous instead.