Log in

View Full Version : add more thumbnails to thumbnailviewer2 and move them up and down with arrows



Adardesign
06-18-2008, 05:53 PM
I am looking to have somthing like
http://www.dynamicdrive.com/dynamicindex4/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

rangana
06-19-2008, 01:15 AM
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:


display:inline;

2. Float the element:


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.