Pagename
I want to isolate an item from within a menu.inc file on the condition that a particular file is including the menu. Eg. Code:
<% if pagename = page1.asp then %>
<li> <a href="abc.asp">Option1</a></li>
<% ElseIf pagename = page2.asp then %>
<li> <a href="def.asp">Option2</a></li>
<% EndIf %>
How to I declare the pagename? I could embed something in the header of the .asp page before the menu.inc is called but not sure if that would work nor how to do it. Any ideas?