not sure if this is the right forum
plz redirect as necessary
i am trying to create a skinnable website using asp but i am having problems with the script that is supposed to load the appropriate header/footer files
does anyone know any good articles or could help me personally?
piece of script that doesnt work thus far
in my index file i load the footer asp as such
**********
< !-- include virtual="/skins/getfooter.asp" -->
***********
getfooter.asp contains the following
***********
<% string skin = Session.Contents["skin"];
if (skin == "default") %>
< !-- include virtual="/skins/defalt/footer.inc" -->
<% if (skin == "reverse") %>
< !-- include virtual="/skins/reverse/footer.inc" -->
etc
************
any help will be appreciated
thanks
this should load the appropriate file but instead it loads all of them
plz redirect as necessary
i am trying to create a skinnable website using asp but i am having problems with the script that is supposed to load the appropriate header/footer files
does anyone know any good articles or could help me personally?
piece of script that doesnt work thus far
in my index file i load the footer asp as such
**********
< !-- include virtual="/skins/getfooter.asp" -->
***********
getfooter.asp contains the following
***********
<% string skin = Session.Contents["skin"];
if (skin == "default") %>
< !-- include virtual="/skins/defalt/footer.inc" -->
<% if (skin == "reverse") %>
< !-- include virtual="/skins/reverse/footer.inc" -->
etc
************
any help will be appreciated
thanks
this should load the appropriate file but instead it loads all of them
