PDA

View Full Version : Javascript: how do I change scrolling image start point?




fearless3955
Sep 22, 2008, 10:28 AM
I've struggled to implement some cool script for a self-scrolling image gallery but the start point of the scroll is outside the cell so it takes time to fill the area completely, and then, at the end of all the images, it takes a while for the sequence to recommence because of the same gap.
1. Most important - can anyone see how to amend the code so it will start with the cell full (instead of coming on from the side ) and then will loop forever WITHOUT a recurring gap?
2. Although the script seems to work (in Safari) Dreamweaver doesn't like where I've positioned Step 3:
<body onload="startw();">
so does it need to be bundled with other existing code somewhere, or where is it supposed to go?
Here's my experimental page:
http://www.suemo.com/aboutus_test2.html
I'm sure there's a simple answer?!



lee1210
Sep 22, 2008, 10:30 AM
http://forums.macrumors.com/forumdisplay.php?f=58
The web development forum is likely to be a much better place to get advice on this.

-Lee