Advanced Search

Results 1 to 3 of 3

Thread: Blending Image Slideshow Script

  1. #1
    Join Date
    Apr 2008
    Location
    near Stuttgart
    Posts
    12
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Blending Image Slideshow Script

    Can somebody help me?

    Insert the "Blending Image Slideshow" script in my page successfully.
    But how can I justify the initial speed?

    Which parameter do I have to change to get the slideshow faster started?
    Which parameter stands for what?

    Thank you all for comments!
    isrie

    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    head part:

    [I]<script language="JavaScript1.1">
    <!--

    //*****************************************
    // Blending Image Slide Show Script-
    // Dynamic Drive (www.dynamicdrive.com)
    // For full source code, visit http://www.dynamicdrive.com/
    //*****************************************

    //specify interval between slide (in mili seconds)
    var slidespeed=3000

    //specify images
    var slideimages=new Array("rundgang1.jpg","rundgang2.jpg","rundgang3.jpg","rundgang4.jpg","rundgang5.jpg","rundgang6.jpg","rundgang7.jpg","rundgang8.jpg","rundgang9.jpg","rundgang1 0.jpg","rundgang11.jpg","rundgang12.jpg")

    //specify corresponding links
    var slidelinks=new Array("http://www.dynamicdrive.com","http://javascriptkit.com","http://www.geocities.com")

    var newwindow=1 //open links in new window? 0=yes, 1=no

    var imageholder=new Array()
    var ie=document.all
    for (i=0;i<slideimages.length;i++){
    imageholder[i]=new Image()
    imageholder[i].src=slideimages
    }

    function gotoshow(){
    if (newwindow)
    window.open(slidelinks[whichlink])
    else
    window.location=slidelinks[whichlink]
    }

    //-->
    </script>



    Body part:

    <div class="Stil7" id="Layer61">

    <a href="javascript:gotoshow()"><img src="rundgang1.jpg" name="slide" border=0 style="filter:blendTrans(duration=12)" hight=250></a><script language="JavaScript1.1"><!--

    var whichlink=0
    var whichimage=0
    var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
    function slideit(){
    if (!document.images) return
    if (ie) document.images.slide.filters[0].apply()
    document.images.slide.src=imageholder[whichimage].src
    if (ie) document.images.slide.filters[0].play()
    whichlink=whichimage
    whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
    setTimeout("slideit()",slidespeed+blenddelay)
    }
    slideit()

    //-->
    </script>

    <p align="center"><font face="arial" size="-2">This free script provided by<br>
    <a href="http://www.dynamicdrive.com">Dynamic Drive</a></font></p>


    </div>

  2. #2
    Join Date
    Jan 2008
    Posts
    4,158
    Thanks
    28
    Thanked 623 Times in 619 Posts
    Blog Entries
    1

    Default

    To edit how fast it goes, look here:
    Code:
    //specify interval between slide (in mili seconds)
    var slidespeed=3000
    The highlighted part will change the slidespeed.
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    isrie (04-11-2008)

  4. #3
    Join Date
    Apr 2008
    Location
    near Stuttgart
    Posts
    12
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your help!
    But this doesn't change the initial speed (how fast the slideshow starts).
    At the moment it takes too long to start.
    The entire speed is ok.

    Thanks!!!

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
  •