Results 1 to 2 of 2

Thread: add more thumbnails to thumbnailviewer2 and move them up and down with arrows

  1. #1
    Join Date
    Jun 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default add more thumbnails to thumbnailviewer2 and move them up and down with arrows

    I am looking to have somthing like
    http://www.dynamicdrive.com/dynamici...thumbnail2.htm
    but should be able to add thumbnails and have them in 1 row and move them

    what can i add to the code
    (i really want them to move horizontally, but that ill do with css)

    Thanks

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    See the note on the scripts. It explain how to add more thumbnail.
    If its an inline element (<span>), then it displays horizontally. If its a block level element (<div), then there comes the problem.
    But the fix is either of this two:
    1. Make the element display as inline element:
    Code:
    display:inline;
    2. Float the element:
    Code:
    float:left;
    From the script in DD, it's already an inline element, but what displays it vertically is because of the <br /> tags.
    Remove them and it will fill your heart's desire.

    ...and as a parting thought, welcome to the forums.

    Hope it helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

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
  •