View Full Version : IFRAME scroller improvement

Steve Cain
11-12-2004, 08:56 AM
Here is a simple mod for the IFRAME scroller at:

When the last item on the list scrolls off the top of the window the list starts again with a full window. This gives a jerky appearance (going straight from an empty window to a refreshed full one). Especially if you use a taller window.

If you add several <br /> tags at the top of your HTML code in the external.htm file you will get smoothing scrolling when the end of the list is reached. You have to experiment with the number of <br /> tags needed, but I needed 9 for a depth of 130px (using the font-size I had selected).

The scrolling now starts at the bottom of the window and as the last item scrolls off the top the first item appears at the bottom.

Looks much better. :)

11-12-2004, 09:00 AM
Yes, I'd agree with this. I use a similar script on www.afpsupport.r8.org (click on Advertise Free), with the same <br>'ing (or &nbsp).


10-13-2005, 07:21 AM
I agree. It would be great if this script would flow continuosly, especially when using it to scroll pictures. Other than that, it's an awesome script! :D