Print Page | Close Window

dynamic menu

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=17212
Printed Date: 29 March 2026 at 2:54pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: dynamic menu
Posted By: pilot99
Subject: dynamic menu
Date Posted: 10 November 2005 at 8:24pm
ok can anyone help with this.
i have a system of showing things off a database it works great i have three different places i show things each showing different thing this is controlled by a cloum in a database called "show" then i also have a column called "order" which orders them depending on witch "show" they are assigned to i can change them manually but i want to change them using a drop down menu that dynamicly show 1,2,3... depending on how many variable there are under the "show"
does someone know how to do this.
i think its is done for the forum when ordering topics.
 
thanks


-------------
http://www.globaltornado.com">



Replies:
Posted By: Scott07
Date Posted: 25 November 2005 at 3:36pm
Can you explain that simpler? with prehaps a sample table to make it eaysier to understand.

-------------
http://www.worldsofwar.co.uk - Worlds of War II


Posted By: theSCIENTIST
Date Posted: 27 November 2005 at 11:21am
Yeah, I think I know what you mean.

First you have to count how many items are in the table, then use that number to loop and create a dynamic drop down.

Also a nice touch is to select the current order value on each item, you do that by doing a check inside the loop.

I can send you some code of my own, if you need, as I develope things like these quite often.

I would also apprecite that you re-ask again and explain better, maybe you mean something else.

-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net