PDA

View Full Version : show more than 1 cover per line in HTML



kazgor
04-28-2006, 02:20 PM
..where i'd like to see 5 thumbnails per line.

eg

cover1...cover2...cover3...cover4...cover5
cover6...cover7...cover8...cover9...cover10
etc etc..

???

pheisholt
04-29-2006, 08:45 AM
This can be done, but you would have to write a few javascripts in order to achieve the format you want.

Basically you need a javascript counter. Every time the counter reaches 5, you would add a new line (<br /> or <p />) and then reset the counter to zero.

kazgor
04-30-2006, 03:54 PM
ta

kinda assume there be some sort of repeat loop, so is there a counter in OC to say how many Covers/albums we need to loop through?

pheisholt
04-30-2006, 11:07 PM
Hi kazgor

That's right.
The repeat loop is created with the Album-tag, like this:

[code]<!--[Album(all,$SORTBY1]-->