PDA

View Full Version : Preloader Slideshow Script by Jason Moon



Hitekmom
03-06-2006, 12:15 PM
Can anyone tell me if this script can be modified to allow more than one (1) slideshow on a page?

Thx!

jscheuer1
03-06-2006, 02:20 PM
This is a stock response (the iframe idea would be good for this one):

Note: Questions regarding multiple script usage are not usually replied to due to their time consuming nature. See this <a href="http://www.dynamicdrive.com/forums/showthread.php?t=320">thread</a> for more information, and this <a href="http://www.javascriptkit.com/javatutors/multiplejava.shtml">tutorial</a> for one possible solution.

Aside from the tutorial above, which usually is the solution when the problem is two different scripts, you may need to consult:

http://www.howtocreate.co.uk/tutorials/index.php?tut=0&part=0&TOshow=allshow#refcon

Which explains how two scripts on the same page may not use the same set of variable names, id names, function names, etc. This is especially important if the problem is two copies of the same script on a page but, can come into play with two different scripts when the first step won't fix it.

One other approach that works in both situations, if adaptable to one (or more) of the scripts, is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.

Hitekmom
03-06-2006, 05:44 PM
Thank you! Though regular frames won't work with my existing file, iframe, however may.

Thx also for the tutorial.