web design - dynamic graphic placement
Discussion
Hi guys,
I've spent around 2 hours looking around for the information I need, and then thought sack it, post the question on PH
Basically I'm using Ultradev 4, and the page lists pictures and names from a query, which looks up data from an Access table (image paths). What I need to do is to control the layout of the page, I want to limit it to 20 pics, but need it to display across the screen and down (i.e. 3 x 5), but at the moment it just lists it going down the page.
i.e. it does this:
[]
[]
[]
[]
[]
etc etc.
when I want it to do this:
[] [] [] [] [] []
[] [] [] [] [] []
etc. etc.
I had the suggestion of using fields in the table to create the x and y cordinates but won't this doesn't sound practical for a query (i.e. you don't know which records will be resulted?). Is there an easy way of doing this in Ultradev?
Can anyone help? Or do I have to write some code in vbscript to handle this operation? AND, if the answer to the latter question is yes, does anyone have any code lying around that could be reused?
Thanks in advance.
I've spent around 2 hours looking around for the information I need, and then thought sack it, post the question on PH
Basically I'm using Ultradev 4, and the page lists pictures and names from a query, which looks up data from an Access table (image paths). What I need to do is to control the layout of the page, I want to limit it to 20 pics, but need it to display across the screen and down (i.e. 3 x 5), but at the moment it just lists it going down the page.
i.e. it does this:
[]
[]
[]
[]
[]
etc etc.
when I want it to do this:
[] [] [] [] [] []
[] [] [] [] [] []
etc. etc.
I had the suggestion of using fields in the table to create the x and y cordinates but won't this doesn't sound practical for a query (i.e. you don't know which records will be resulted?). Is there an easy way of doing this in Ultradev?
Can anyone help? Or do I have to write some code in vbscript to handle this operation? AND, if the answer to the latter question is yes, does anyone have any code lying around that could be reused?
Thanks in advance.
www.basic-ultradev.com/extensions/index.asp
The extension is called Horizontal Looper and it seems to work a treat!
Nice one Ninja
The extension is called Horizontal Looper and it seems to work a treat!
Nice one Ninja
Gassing Station | General Gassing [Archive] | Top of Page | What's New | My Stuff




