While working on a new website for Lighting Pacific today, I went searching for a chunk of Javascript that could really simply scroll thumbnails endlessly in a marquee type way, but without the huge gaps at the end of the row.
Realising there was basically nothing out there, I sat down and came with this quick little script after about an hour of tinkering.
It unobtrusively gets all the image elements and their links direct from the DOM and appends them to the scrolling div element as required, giving the effect of an endless loop of images scrolling past.
I’ve uploaded it as is for now, but I’m thinking I might do some cross browser testing for it (only supported by Firefox 2.0 at the moment), clean it up a bit and release it on bandit.co.nz/writings. Enjoy.
Loading...
