Link to home
Start Free TrialLog in
Avatar of coreybryant
coreybryantFlag for United States of America

asked on

If Then Statement for a Website

I am working on a website and would like to know that if the link is something like http://www.example.com/securit/pci-dss if I can have a couple of different files appear in the navigation?

I am using Helicon Rewrite so that is why the URL looks that way (it is not http://www.example.com/securit/pci-dss.asp or http://www.example.com/securit/pci-dss/default.asp)

For example, when they are on this page, I would like the navigation to be
<!--#INCLUDE FILE="../includes/securitynav.asp" -->

Open in new window


How can I accomplish this?

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of Eyal
Eyal
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of coreybryant

ASKER

Thanks!  If I have seven different includes, do I just repeat
<%else%>
<!--#INCLUDE FILE="../includes/securitynav2.asp" -->

Open in new window

until I am done?  Do I need to put the file name anywhere in there?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you very much!