I have set up an asp page to use as a stylesheet and all works great using cookies to determine the output in the css.
I need to set another variable to change the colour if on a certain page, the variable is set on the page itself
<%
'var to tell nav file which to highlight
strPage = "ssearch"
%>
then called in the asp stylesheet
if strpage = "ssearch" then
navcurrentcol = "000000"
studenthover = "000000"
else
navcurrentcol = "cc0000"
studenthover = "ffffff"
end if
But it won't work with just variables, will I need to use cookies for this page also or is there a way to get it to work with variables?
I need to set another variable to change the colour if on a certain page, the variable is set on the page itself
<%
'var to tell nav file which to highlight
strPage = "ssearch"
%>
then called in the asp stylesheet
if strpage = "ssearch" then
navcurrentcol = "000000"
studenthover = "000000"
else
navcurrentcol = "cc0000"
studenthover = "ffffff"
end if
But it won't work with just variables, will I need to use cookies for this page also or is there a way to get it to work with variables?