Results 1 to 5 of 5

Thread: Fade In Slideshow help

  1. #1
    Join Date
    Sep 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fade In Slideshow help

    I'm new to using script and really want to use the fade in slideshow script that I found on DD. However, I tried to copy and paste the script like it told me to but how to I change the script to work with my pictures? Does that make any sense? I have 3 pictures that I want to fade in but don't know how to change the script (without messing it up) to use my pics and not the ones on DD. Can anyone give me step by step instructions on what I need to change? I've tried several things but it doesn't seem to work. Any advice would be greatly appreciated!
    Thanks in advance!
    Corrie

  2. #2
    Join Date
    Aug 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    var fadeimages=new Array()
    //SET 1) IMAGE PATHS, 2) optional link, 3), optional link target:
    fadeimages[0]=["put your image path here ie. www.yourdomain.com/image1.jpg", "place a link here, if you want", ""] //plain image syntax
    fadeimages[1]=["photo2.jpg", "http://www.google.com", ""] //image with link syntax
    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

  3. #3
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is just the script I've been looking for! :-)

    I'm doing a webpage for my department's use - which will only be seen internally. I'm what you'd probably refer to as an amateur at building webpages - but I sure have fun learning lots of new ways to do things!

    Anyway, our department is located at 2 different sites - one on the east coast and one in the midwest, and I want to put a slideshow of pictures from both locations - side-by-side.

    I tried doing this by putting the scripts inside a table. It works when I put it in on one side - but when I add the script to the second side, nothing shows up on either side (except for the reference to "dynamic drive".)

    I know it means re-writing certain things (I changed the .jpg file names), but I have no clue what else needs changed. Can anyone help me?

  4. #4
    Join Date
    Oct 2005
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Lolee,

    Yesterday I learned a valuable lesson here and I'm gonna share it with you. If you try to do two things on one page and it doesnt work, use an iframe.

    Im not familiar with your particular script, so i dont know if you could place two side shows on a page, but an easy solution is the iframe. the two slideshows will appear to be on one page but in fact they are on two.

    just insert the following code at the place you want the second slide show. adjust the size and change the link to a separate page with your second slide show.

    <iframe id="slideshow2frame" name="slideshow2frame" src="slideshow2.html" frameborder="0" scrolling="no" height="400" width="400"></iframe>

    let me know if it works ;-)

  5. #5
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, Bobby!

    That worked FANTASTIC! Thank you so much! I'm sure that little code will might come in handy in the future, too!

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
  •