PDA

View Full Version : Ultimate Slideshow and JQuery



jfly
06-08-2010, 05:59 PM
1) Script Title: Combining Slideshow with custom JQuery

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: While trying to implement the slideshow into a webpage that already has jquery, I'm getting an "Object doesn't support this property or method" error. The error is pointing to the following line in another .js file that controls some fadein/out graphics that run once the page loads:

$(window).load(function() {

When fadeslideshow.js is not referenced in my page, everything runs great and as soon as I add <script type="text/javascript" src="fadeslideshow.js"></script>, my error comes up again. I've tried putting my jquery code and the slideshow code into the same file and I get the same error.

Please help me out if you can

ddadmin
06-09-2010, 03:40 AM
This is most likely due to the other script not taking into account jQuery.noconflict() being called by the slideshow. Inside fadeslideshow.js, try commenting out the following line:


//jQuery.noConflict()