How would you like to create a slick DHTML menu like this for your web site? As I was surfing the net, I found a cool DHTML menu at: http://www.association.org/Start/dynamic.asp. (It's no longer there folks.) I snagged the javascript functions and the cascading style sheets and decided to revamp the code with some VBScript functions to make it fully customizable and ASP driven.
It turns out that the most requested example also has the most problems, in terms of being easy to customize, that is. Well, that was then and this is now! The new bread crumb trail is a fully featured VBScript Class! Now anyone can customize a dynamic navigation menu by simply setting properties and then calling a method. In seconds you can configure the class and then include the file into any ASP page and voila: an instant navigation menu.
Let's say, for example, that you have a web site with Categories, which you want to display in a drop-down list box, pulled from a database. Well, the "Populating Drop-down List Boxes From the Results of a Query" tutorial does a good job of explaining how to do this. However, what if the Categories have sub-categories, and you want two drop-down list boxes, and you want the contents of the second box to change when the item selected in the first has changed? Well, that's a good bit more complicated.
Redirects in ASP are very simple. One line of code placed on you page will take the user to a differnt page automatically. There one rule to using them however. No redirect can occur after ANY code has be written to the client. Meaning any redirect must occur before you write any HTML, even an HTML comment