PDA

View Full Version : Conveyor Belt slideshow- need it to be contiguous!



southernfocus
04-19-2009, 08:58 PM
1) Script Title: Conveyor Belt slideshow

2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm

3) Describe problem: Everything is working great except for the problem where the images on the end disappear. I want it to be completely seamless and contiguous.

Any Suggestions? This is for my final project for Dreamweaver and I am on a bit of a time schedule.

http://www.southernfocusdesigns.com/Final/home.html

jscheuer1
04-20-2009, 04:58 AM
Unless your only target browsers is IE, you may want to rethink portions of your layout strategy. Using text-align:center for the body element is not the right way to center your page. The proper way is to use a valid URL DOCTYPE and a master container division with width specified that has its margin set:


margin: 0 auto;

However, if IE is all that you are concerned with, then in the script change:


write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')

to:


write('<div style="text-align:left;position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')

southernfocus
04-20-2009, 04:40 PM
THANKS! It worked!!!

Normally I wouldn't do something just for IE...but this is a school project and that is the graded only for the look and design not necessarily the value of the code. So, I am just getting it to work! LOL The teacher will look at it on IE!!!!

Thanks again! I spent hours trying to figure that out!