PDA

View Full Version : Multiple Photo Album Scripts



kaffirnutz
05-14-2006, 04:39 AM
this is in reference to the Photo Album Script: http://www.dynamicdrive.com/dynamicindex4/photoalbum.htm

i would like to put multiple instances of this script on one page. Can anybody please let me know which variables to change to get this to work :confused: Any help greatly appreciated.

jscheuer1
05-14-2006, 05:49 PM
The best way would be a complete rewrite of the script to make it Object Oriented. This is a major project. Short of that you can create a clone of the script using unique names for all global variables, objects and functions that cannot be shared with the first script and using uniquely named and id'ed HTML and generated HTML. Using that script for the second Album and creating additional unique clones for any subsequent Albums. This too is quite an undertaking.

Failing either of those efforts, you should be able to put one Album on the page itself and have another/others show through onto it it through (an) iframe(s).