Results 1 to 2 of 2

Thread: Frog JS more than once on a page

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

    Default Frog JS more than once on a page

    1) Script Title: Frog JS Image Gallery

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

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

  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

    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.
    - 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
  •