Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic ASP Menu?

Status
Not open for further replies.

puitar

Programmer
Apr 8, 2001
64
AU
Greets,

I've been looking around for code to generate web menus generated with asp and sql data with no luck... Can anyone point me in the right direction?

I want the menu to act similar to a treeview control.
I would like to write some asp code to allow clients to edit the menus themselves.

Thanks

ph
 
You may want to look into the way the javascript is created for microsofts generic XSL sheet (what you get when you point IE wser to an xml page). Since they are generating portions of the expanandable dynamically from an XML file and then using javascript to dynamically allow the user to open and close nodes in the tree. Using that script as a basis you could create a version that looped through a recordset setting uplayers, dependant perhaps on subject and topic, that are actually links to various resources. There are copies floating around of this file that are spaced out neatly and commented. Unfortunatly I don't have a copy to hand at the moment.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top