You've changed the markup of the gallery here:
Code:
<div id="motioncontainer" style="position:absolute; height:520px; width:100%; bottom:150px; left:0; right:0; overflow:hidden;">
<div id="motiongallery" style="position:absolute;left:160px;top:0;right:0; white-space: nowrap;">
It's supposed to be:
Code:
<div id="motioncontainer" style="position:relative;overflow:hidden;">
<div id="motiongallery" style="position:absolute;left:0;top:0;white-space: nowrap;">
Once you restore that. You could have a transparent image of the desired width as the first image in the train. Positioning the gallery where you want it (if necessary at that point) should then be done via a containing division (wrapper) placed around the entire gallery. It probably no longer would need to be shifted to the right as you currently have it though because the transparent lead image would make it look like it was already shifted to the right until it was scrolled. When it returns to the starting point, the transparent image would then make it appear once again as you say you want. You might want to make it's container (the added wrapper mentioned above) position absolute with a width slightly over 100%. Experiment with that if a wrapper is even needed. Be aware that on really wide screens, you may need more images in the train. It might be better to set the width of the gallery in pixels. Just make it really wide. That way on screens that are too wide it should still look OK, just not trail off the right edge. However you do it, there must always be enough images to fill out the width of the train to greater than the width of the gallery.
This transparent image may be a solid color image that matches the background, but a transparent .gif would likely be the most versatile. A .png image may be used as well if it affords a smaller byte size. A very physically small dimensioned image might be able to be used if you explicitly set its dimension in the HTML source code via width and height attributes or style. If so, this would afford the smallest possible byte load for the added image.
Bookmarks