BipadTaranMahato / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

Slideshow script conflicts with jquery-1.2.6.pack.js #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is more informative than anything else but if someone is using a 
script which requires jquery-1.2.6.pack.js for any reason the code to 
include jquery-1.2.6.pack.js in the header MUST precede the scripts for 
slideshow, otherwise the slideshow will not function at all.

In my situation, I customized this menu 
(http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm) to my 
needs and later added the slideshow. After configuring the sample 
slideshow to my needs, I tried implementing it into my existing template 
but the slideshow would never initialize. After hours of trouble-shooting, 
I discovered that it stopped functioning once jquery script was added. 
Upon further inspection I discovered if jquery was loading BEFORE the 
slideshow scripts, the slideshow would function properly.

Original issue reported on code.google.com by dail...@gmail.com on 11 Jan 2009 at 4:36

GoogleCodeExporter commented 9 years ago
I believe you can compile jQuery with a "compatibility" mode that will enable 
it to
work with other frameworks such as Mootools and Prototype. Most of these 
frameworks
are exclusive - ie you cannot (and should not) attempt to use multiple 
frameworks on
the same page since many of them are extending JS natives in ways that will 
conflict
with each other. Not to mention you are adding a lot of overhead (each of the JS
frameworks can add 50-100k to the weight of the page) for a single effect. 
Mootools
has many accordion menus available (in fact the accordion effect was popularized
first by Mootools) - it would be highly recommendable to use one of these 
rather than
the jQuery version if you are set on using the Mootools Slideshow.

Original comment by aeron.gl...@gmail.com on 11 Jan 2009 at 5:10