Forum Moderators: open
To clarify the index page would be a dynamic page with frames. When you click a link instead of leavind the page header alone, it changes to index.asp&main=blah/link.html this way you can have a framed menu and better linking capabilites.
Also not I'm using collapsable frame menu, that is why this idea would be ideal, rather than a basic .asp header type thing.
In that case, put this script in your index.asp:
<script type="text/javascript">
var ls = location.search.substr(1);
var insertme = (ls && (ls.substr(0,5) == "main="))?
unescape(ls.substr(5)) : "intro.html";
var theSet = '<frameset cols="150,*">\n';
theSet += ' <frame src="menu.html" name="menuframe">\n';
theSet += ' <frame src="' + insertme + '" name="mainframe">\n';
theSet += '<\/frameset>\n';
document.write(theSet);
</script>
Now you can make links like href="index.asp?main=somefile.html". Note the use of a question mark: index.asp?... , not index.asp&...
All this only works in browsers with javascript enabled. Search engines will not find it useful.
hosting.ok.org/test.asp?main=stuff.html
instead it still displays
hosting.ok.org/test.asp?main=somefile.html
More info: use your favorite search engine ...