Results 1 to 3 of 3

Thread: DD Conveyor Belt slideshow script: Vertical?

  1. #1
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post DD Conveyor Belt slideshow script: Vertical?

    1) Script Title: Conveyor Belt slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem: I haven't come across any problems, but I am wondering if it is possible to run this script vertically and what would need to be modified. I think I'd want to to scroll from the top down, but it wouldn't matter. Just want to know if it is possible and how to implement.

    Thank you!

    SLD

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Actually, I wouldn't even try to mess with that. It would probably be an entirely different script, try this one.

    Code:
    <html>
    <head>
    <script language="javascript">
    var i=0
    var speed=1.5
    function scroll() {
    i=i+speed
    content.scrollTop=i
    if (i>content.scrollHeight-140) {i=0}
    t1=setTimeout("scroll()",0)
    }
    window.onload=scroll
    </script>
    </head>
    <body>
    <div id="content" style="border:1px solid gray;padding:2px;font:12px arial;width:120px;height:140px;overflow-y:hidden" onmouseover="clearTimeout(t1)" onmouseout="scroll()">
    <span style="height:140px;width:100px"></span>
    <img src="http://www.dynamicdrive.com/dynamicindex4/dynamicbook1.gif" border=1></a>
    <img src="http://www.dynamicdrive.com/dynamicindex4/dynamicbook2.gif" border=1></a>
    <img src="http://www.dynamicdrive.com/dynamicindex4/dynamicbook3.gif" border=1></a>
    <img src="http://www.dynamicdrive.com/dynamicindex4/dynamicbook4.gif" border=1></a>
    <img src="http://www.dynamicdrive.com/dynamicindex4/dynamicbook5.gif" border=1></a>
    <span style="height:140px;width:100px"></span>
    </div>
    </body>
    </html>
    - Mike

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Thanks!

    mburt,
    thanks for the help. i will try this script and let you know how it goes. i really appreciate it!

    SLD

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
  •