Select Case:

In this example the <% Select Case %> statement is used to display the correct left navigation scheme based on the "Section" variable.

Click here to test this script.

Code:

default.asp
Highlight
default.asp (place in the "search" directory)
Highlight
header.asp (place in the "_include" directory)
Highlight
footer.asp (place in the "_include" directory)
Highlight