Results 1 to 2 of 2

Thread: Fade-in Slideshow

  1. #1
    Join Date
    Jun 2005
    Location
    Lancaster, SC
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fade-in Slideshow

    Script: Fade-in slideshow
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    How would I alter the script to remove the links associated with the pics? Follows is what I have:

    In the head section:

    <!--

    /*
    JavaScript Image slideshow:
    By JavaScript Kit (www.javascriptkit.com)
    Over 200+ free JavaScript here!
    */

    var slideimages=new Array()
    var slidelinks=new Array()
    function slideshowimages(){
    for (i=0;i<slideshowimages.arguments.length;i++){
    slideimages[i]=new Image()
    slideimages[i].src=slideshowimages.arguments[i]
    }
    }

    function slideshowlinks(){
    for (i=0;i<slideshowlinks.arguments.length;i++)
    slidelinks[i]=slideshowlinks.arguments[i]
    }

    function gotoshow(){
    if (!window.winslide||winslide.closed)
    winslide=window.open(slidelinks[whichlink])
    else
    winslide.location=slidelinks[whichlink]
    winslide.focus()
    }

    //-->


    In the Body section:

    <script>
    <!--

    //configure the paths of the images, plus corresponding target links
    slideshowimages("Last%20Friday%2005/Images/Lst_Fri_05%2020.jpg","May_05_Dance/Images/05-05_Dance%202.jpg","Last%20Friday%2005/Images/Lst_Fri_05a%2026.jpg","May_05_Dance/Images/05-05_Dance%2018.jpg","Last%20Friday%2005/Images/Lst_Fri_05b%202.jpg","May_05_Dance/Images/05-05_Dance%2010.jpg")
    slideshowlinks("http://www.lancastershagclub.com/pictures.htm?id=13285","http://www.lancastershagclub.com/pictures.htm?id=10092","http://www.lancastershagclub.com/pictures.htm?id=100975","http://www.lancastershagclub.com/pictures.htm?id=2876","http://www.lancastershagclub.com/pictures.htm?id=20010","http://www.lancastershagclub.com/pictures.htm?id=14285")

    //configure the speed of the slideshow, in miliseconds
    var slideshowspeed=3000

    var whichlink=0
    var whichimage=0
    function slideit(){
    if (!document.images)
    return
    document.images.slide.src=slideimages[whichimage].src
    whichlink=whichimage
    if (whichimage<slideimages.length-1)
    whichimage++
    else
    whichimage=0
    setTimeout("slideit()",slideshowspeed)
    }
    slideit()

    //-->
    </script>


    Thanks in advance.

    RBR

  2. #2
    Join Date
    Jun 2005
    Location
    Lancaster, SC
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oops! Just realized wrong script! Never Mind!

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
  •