Results 1 to 3 of 3

Thread: Conveyor Belt Slideshow - Different size pics

  1. #1
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt Slideshow - Different size pics

    I love this script!

    http://www.dynamicdrive.com/dynamici...rightslide.htm

    It's behaving absolutely perfectly on the current webpage 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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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):

    Code:
    <style type="text/css">
    #test2 img, #test3 img {
    vertical-align:middle;
    margin-top:6px;
    }
    </style>
    To peg them to the top is even simpler:

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •