[thelist] .asp "if pagename [this]..."

Russ russ at unrealisticexpectations.com
Wed May 26 23:21:00 CDT 2004


I'm working through my first .asp website, and as no surprise, the
client's requested a fairly small change to show a different LI image
when showing the page that we're currently on.

This is fine and dandy, and it's easy enough, however, I've set up my
navigation inside of include files, and I'm really not wanting to change
this, so I'm wondering if there's a way to say:

If pagename is [current pagename]
Then style = [LI style2]
Else
Style = [LI style1]

Thanks for any pointing in the right direction.

Russ




More information about the thelist mailing list