Results 1 to 5 of 5

Thread: Swiss Army Script

  1. #1
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Swiss Army Script

    1) Script Title:
    Swiss Army Script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex14/swissarmy/
    3) Describe problem: I am new to scripts and I'm sure I've just done something wrong, but when I post the code and try to view the webpage I get
    inter_slide is undefined

  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

    Did you download the swissarmy.js file and place it in the same folder as your page?
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I figured that out a little earlier today. Is it possible to create a link to another page on one of the images in slide show 1 on this script?

  4. #4
    Join Date
    Apr 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is it possible to create a link to another page on one of the images in slide show 1 on this script?

  5. #5
    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 simplest way is:

    Code:
    array_name[#] = ["image.jpg", "description", "http://www.dynamicdrive.com"];
    So, for the first image in the first slide show on the demo page, that would be:

    Code:
    slides[0] = ["photo1.jpg", "Kissing Fools", "http://www.dynamicdrive.com"];
    - 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
  •