PDA

View Full Version : Frog JS more than once on a page



WebFire
10-19-2007, 02:37 PM
1) Script Title: Frog JS Image Gallery

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/frogjs/index.htm

3) Describe problem: Does anyone know how I can get 2 sets of images to work on the same page?

jscheuer1
10-19-2007, 03:23 PM
Although the script is already basically an object (which would make it a good candidate for multiple use), it is hard coded as to what id's it uses for the elements it looks for, creates, and manipulates and for what internal variable names it uses to store information. So without fairly extensive modification, the only ways I know of to have two or more on one page would be to use frames or to use iframes.