PDA

View Full Version : Conveyor Belt Slideshow - Different size pics



BeckysBarn
12-07-2005, 05:07 AM
I love this script!

http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm

It's behaving absolutely perfectly on the current webpage (http://www.lisasantiquemalls.com) Everyone loves it.

Here's the problem. I need to replace the current pictures; however, the new pictures are not the same size. Is there anyway to center each picture within the slider's height & width. Or "anchor" each picture to the top of the slider?

BTW, I do have a background in programming, but nothing with scripts! And then I retired & forgot almost everything.

jscheuer1
12-07-2005, 07:30 AM
For centering, this style, in the head of your document will do it (working from the otherwise default configuration, some adjustment to margin-top may be required for your exact setup):


<style type="text/css">
#test2 img, #test3 img {
vertical-align:middle;
margin-top:6px;
}
</style>

To peg them to the top is even simpler:


<style type="text/css">
#test2 img, #test3 img {
vertical-align:top;
}
</style>

BeckysBarn
12-07-2005, 07:13 PM
Thank you John. Your solution wasn't exactly the solution for me, but it did jog a few brain cells to get me going. If you look at the page now http://www.lisasantiquemalls.com/SlideShow.htm you'll see that I worked it out.

Becky