View Full Version : Iframe Scroller Continuous Scrolling Question

11-26-2006, 05:42 PM
1) Script Title: Iframe scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/iframe-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,

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.

11-27-2006, 01:54 AM
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 (http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm) script is one of the scripts that was modified to be continous scroll btw.

11-27-2006, 07:17 AM
I'm interested in such an update. Surely that is all that is needed . . . Right? ;)

11-27-2006, 09:52 AM
Lol well it's a start, one person that is :)

11-27-2006, 02:52 PM
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? :D

11-28-2006, 05:35 PM
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.

03-26-2014, 09:50 AM
I made a little change that gives a continuous-like look:

function scrollDiv(){
if (parseInt(dataobj.style.top)<-thelength) {
dataobj.style.top=(thelength % 2)+"px"; ///dataobj.style.top="5px";