Click to See Complete Forum and Search --> : Thumbnail page


Caoimhain
11-30-2005, 03:44 AM
I'm making up a photos page on my web site using DW8 (I know). At the moment I have them all listed 1 per row with a repeat region - http://www.irishbandslist.com/photos.asp but I want to have a thumbnail page with all the photos beside each other and going down the page (say 5cols x 20rows). Does anyone have a simple script which I can do this with?

Any help much appriciated
Cheers, Kevin @ irishbandslist.com
http://www.irishbandslist.com/

Bullschmidt
11-30-2005, 07:24 AM
I'd suggest using I (where I is the record number) MOD 5 (for 5 records in one row) and if it equals 0 then end a row and start a new row...

How do I change a list into a set of table rows and columns?
http://www.aspfaq.com/show.asp?id=2247
Code is a little complicated as can handle any number of columns.

Short answer doesn't use MOD.
http://www.codingforums.com/showthread.php?t=72493