Forum Moderators: open
I found out about asp includes in shtml files (which is an advantage over php) so I am using asp includes for menus and other 'template' content.
As long as the includes are static it works fine.
However if I try to make them *dynamic* (i.e. they include asp code) then it doesn't work - instead the code is echoed out to the shtml page.
Is it actually possible to have 'dynamic' content in an asp include inside an shtml file? Or does the top level file have to be asp?
What I want is a function that
(a) detects the page , then
(b) hide the <a href> tag for the link for that page
so you have a visual indicator in the menu as to which page you're on.