dynamically create page layout

message from -D- on 18 Jul 2004
Can anyone offer any suggestions on the following scenario. I want to query
a database field named "category". Based on the value contained in the
field "category", I want to have different page layouts created and
populated with the recordset fields.

So, as a very simple example. Say I have two different values for the
category field "cat" and "dog". When I query for "cat" the page would
dynamically build a two column two row layout. When I query for "dog" the
page would dynamically build a three column, three row layout. Something
like that. I am using ASP.

I'm interested in suggestions or better methods to accomplish this task.
Thanks for any input.

-D-
 
Craig replied to -D- on 19 Jul 2004
D,
a. a repeat region would probably be in order
b. the 'cat' has less columns (rows are repeat region controlled),
therefore a simple 'hide if empty' should hide the third column which only
applies to 'dog'
c. 'horizontal looper' extension might be good, plus a 'hide if empty'
one too

Craig

"-D-" <noone@nospam.com> wrote in message
news:cdfdqa$2fl$1@forums.macromedia.com...
 

Archived message: dynamically create page layout (Macromedia Dreamweaver)