Results 1 to 2 of 2

Thread: Multiple Photo Album Scripts

  1. #1
    Join Date
    May 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Multiple Photo Album Scripts

    this is in reference to the Photo Album Script: http://www.dynamicdrive.com/dynamici...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 Any help greatly appreciated.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •