Forum Moderators: open
If you're dynamically generating your menu, for example from a database, you could assign each new menuitem a special directory on the server (the weather would be /weather/) and then include a check of what directory you're in (using ServerVariables) with your menuscript. If the directory matches the directory assigned to the menuitem in the database, you give that table row a different color or look.
//ZS
Another way is to include the same menu on each page and use css, create a special "selected" style , and dynamically write the style names, based on the urls.
Yes, its a bit messy, but another option.
You have to first detemine the page name & then something like this for every link...
<div style="<% if pageName="Page1" then response.write "selected"%>">
<a href="page1.htm">Page1</a></div>