The is the same file (gallery.html) as discussed in the load files to array post. I dynamically build a marquee then document.write it:
gMarqueePics="
";
// gctr holds on to the number of files in gFiles since it is used throughout the page
for (i=0; i<=gctr; i++) {
gMarqueePics=gMarqueePics+"
";
}
gMarqueePics=gMarqueePics+"";
document.write(gMarqueePics);
I also parse the file name which contains data about the image (i.e. name, identifier, DOB, etc.) and similarly dynamically build a text marquee then document.write it. The code is the same except that I added the behavior and style parameters to the image marquee in an attempt to solve the truncation problem. The text marquee does not truncate. Both are written one after the other inside a table.
There are 6 images currently and 5 fit across the width of the table. Actually a few pixels of the 6th image also fits and you can see when the marquee scrolls, those few pixels display before the marquee starts scrolling from the first image.
There must be a way of defining the marquee to scroll all images then start over. Isn't there?