Results 1 to 4 of 4

Thread: Slide Show - starting point

  1. #1
    Join Date
    Mar 2006
    Location
    Britisch Kolumbien
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Slide Show - different starting points?

    DHTML Slide Show Script
    http://www.dynamicdrive.com/dynamici...dhtmlslide.htm

    nice sript. everything works as it should.

    Is there a way to define different starting slides? E.g. depending on a variable or a preceeding link?

    thanks for your help
    Last edited by El Commodore; 03-01-2006 at 06:12 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    SoCal, USofA
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    My thought would be that in
    Code:
    document.write('<img src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>')
    you would change to a variable:
    Code:
    document.write('<img src="'+photos[variable]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>')
    or something like that.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You should also change the line near the top of the script:

    Code:
    var which=0
    near the top to reflect the new starting point, such as:

    Code:
    var which=1

  4. #4
    Join Date
    Mar 2006
    Location
    Britisch Kolumbien
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I finally figured it out. Thanks anyway.

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
  •