web design - dynamic graphic placement
web design - dynamic graphic placement
Author
Discussion

ninja_eli

Original Poster:

1,525 posts

295 months

Wednesday 12th February 2003
quotequote all
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.

AlunR

1,676 posts

292 months

Wednesday 12th February 2003
quotequote all
forums.macromedia.com is probably the best place to go.

I'm trying to do this too so let me know how you get pn

AlunR

1,676 posts

292 months

Wednesday 12th February 2003
quotequote all
Ninja - you've got mail!

miniman

29,817 posts

290 months

Wednesday 12th February 2003
quotequote all
Alun - send me mail too! I'm having the same problem!! Cheers...

ninja_eli

Original Poster:

1,525 posts

295 months

Wednesday 12th February 2003
quotequote all
Cheers Alun! I'm now contactable on my usual email! It's okay if you've replied to the other address though, my mate will forward to me later.

AlunR

1,676 posts

292 months

Wednesday 12th February 2003
quotequote all
www.pentangle.co.uk/widthclipper.doc

that will hopefully help you find your way...

ninja_eli

Original Poster:

1,525 posts

295 months

Wednesday 12th February 2003
quotequote all
miniman,

I sent Alun another file I found that might be useful for what we want too. I'll let him analyse it and see what he thinks. I can email it to you direct if you want? Mail me your details if you do.

AlunR

1,676 posts

292 months

Wednesday 12th February 2003
quotequote all
www.basic-ultradev.com/extensions/index.asp

The extension is called Horizontal Looper and it seems to work a treat!

Nice one Ninja

miniman

29,817 posts

290 months

Wednesday 12th February 2003
quotequote all
Ninja:

The horizontal looper works a treat. Thanks also Alun for the other util you sent.