Results 1 to 2 of 2

Thread: DHTML Slide Show Script - edit transitions?

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

    Default DHTML Slide Show Script - edit transitions?

    Hello,

    RE: DHTML Slide Show Script

    This works great for my photos, but I would like just have one type of transition. I like the one where the new photos comes in from the left, overlapping the previous photo.

    What do I need to do?

    Debbie V.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,496
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The transitions in this script only work in IE. I believe the effect you are describing is #6. Edit the scripts. There are two places where the random transition is established:

    Code:
    photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
    and:

    Code:
    document.write('<img src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>')
    Change them to:

    Code:
    photoslider.filters.revealTrans.Transition=6
    and:

    Code:
    document.write('<img src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=6)" border=0>')
    Last edited by jscheuer1; 01-13-2006 at 06:23 PM. Reason: add info
    - 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
  •