Results 1 to 7 of 7

Thread: Iframe Scroller Continuous Scrolling Question

  1. #1
    Join Date
    Nov 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe Scroller Continuous Scrolling Question

    1) Script Title: Iframe scroller

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

    3) Describe problem:

    I am very grateful for the scripts on Dynamic Drive. I do not have any real Java, Html, PHP, and ad nauseum experience.
    The Iframe scroller suits my needs for a simple scroller on my site, but I was wondering if there is a way to get it to coninuously scroll without the text just jumping in and filling the frame after it reaches the end of the available data for the scroller and restarts. I have been reading the previous posts about the scroller, but couldn't locate an answer to this question.
    Any help is greatly appreciated.

    Thank you,
    Cody
    www.aldersonarts.com

    Ha Ha! After I posted this I noticed that the snow effect script http://www.dynamicdrive.com/dynamicindex3/snow.htm causes the scroller to pause when the snowflakes go over top the Iframe.
    Last edited by Cody; 11-26-2006 at 06:06 PM. Reason: Noticed something else

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

    Default

    It's possible to edit the scroller so the animation is continuous when it hits the end, though the changes to the script in order to archive this isn't trivial. If I find the time I'll add such an update, assuming there is enough interest in it. The Conveyour belt slideshow script is one of the scripts that was modified to be continous scroll btw.

  3. #3
    Join Date
    Nov 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm interested in such an update. Surely that is all that is needed . . . Right?

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

    Default

    Lol well it's a start, one person that is

  5. #5
    Join Date
    Nov 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The conveyor belt slideshow really wouldn't work for what I want it for. I really like the Iframe scroller because the content can be stored and manipulated in an external html document. This makes it quite easy to update information I want my visitors to see.
    Also, unless there is a voting thingy somewhere around here I have to wait for others that try out this script to be motivated enough to join a forum and post a thread about the need for continuous scrolling. How can you be so cruel to such a lowly peasant?

  6. #6
    Join Date
    Nov 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    As a temporary fix I added some line breaks that correspond to about the height of the Iframe which gives the illusion of continuous scrolling. It works okay in IE 6 and Firefox 2. I didn't check it with any other browsers.

  7. #7
    Join Date
    Mar 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Approach

    I made a little change that gives a continuous-like look:
    Code:
    function scrollDiv(){
      dataobj.style.top=(parseInt(dataobj.style.top)-scrollspeed)+"px";
      if (parseInt(dataobj.style.top)<-thelength) {
        dataobj.style.top=(thelength % 2)+"px"; ///dataobj.style.top="5px";
      }
      setTimeout("scrollDiv()",40);
    }

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
  •