View Full Version : Memory Scroller & long textstring

04-06-2006, 01:59 PM
Memory Scroller

I used the memory scroller on a webpage and I put a long textstring in to display. I works just fine, speed, pauze, memory, etc. ... BUT ... I suddenly have a horizontal scrollbar at the bottom of my page! I can slide it a long way to the right revealing absolutely nothing! When I put in a shorter textstring the scrollbar disapears.
I can't find anything about a maximum size and I've tested this on several computers under different OS's.
To test it I made a simple HTML-page with nothing but the Memory Scroller script, which I copied directly form DD, in the body. I only changed memorycontent, I put in a longer textstring. I tested this page again on several computers under different OS's and it gives me the same result everywhere ... a horizontal scrollbar!

Maybe I'm doing something wrong, but I don't think so. If I am, please tell me so I can adjust my webpage accordingly. Otherwise there is a bug in the script!


04-06-2006, 05:56 PM
Wrap a division with position:relative;overflow:hidden around it:

<div style="overflow:hidden;position:relative;">

script goes here


04-06-2006, 09:51 PM
That did it!