Results 1 to 2 of 2

Thread: help with Ultimate Fade-in slideshow (v1.5)

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

    Default help with Ultimate Fade-in slideshow (v1.5)

    I am trying to get the Ultimate Fade-in slideshow working. I am using Frontpage 2002. I have copied the script into header and body where I want the slide show to show up.

    I am fairly new to scripts and html but am trying. The problem is that I can't figure out how to point the script to the folder where my pics are so that they will show up. I hope someone can point me in the right direction, I really like this script.
    Thanks,
    Dave

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,992
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    Basically, it is done in the same manner as an ordinary image tag. Say your page is in one folder and your image is in one off of that called images, the image tag would look something like so:

    HTML Code:
    <img src="images/some.jpg">
    It is very much the same in the image array:

    Code:
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["images/some.jpg", "", ""] //plain image syntax
    fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    If your images folder was like so that your image tag needed to be this way:

    HTML Code:
    <img src="../images/some.jpg">
    You could use that in the array as well:

    Code:
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["../images/some.jpg", "", ""] //plain image syntax
    fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    Whatever syntax will work for the src attribute in an image tag for that page will work in the array.
    - 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
  •