PDA

View Full Version : Virtual Pagination Help (horizontal 3 Image Display)



Seafury
02-16-2007, 02:30 AM
1) Script Title: Virtual Pagination

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/virtualpagination.htm

Yet another virtual pagination problem.

By default, when you set the script to show 3 images at once it shows them vertically. I was thinking that the reason this happens is because each pagination section is in it's own div and div's create a newline.

So I tried putting them in a th or a td but that didn't quite work right. Am I on the right track to make the images show horizontally rather than vertically?

ddadmin
02-16-2007, 07:53 AM
Well, each page uses a DIV as its container, though that doesn't mean you have to put each image inside its own page (aka DIV). If I understood you correctly then, why not just put all 3 images inside one page div (formatted the way you want to horizontally)? Since you're showing 3 images at once anyways, putting them in one page and showing 1 page at a time is identical in practice to putting them in 3 pages and having the script show 3 pages at once. Makes sense? :)