|
rdouglass -> RE: Address bar (9/25/2002 13:16:31)
|
You could do that the easy way with frames (Yuck!) or you could do that with ASP (that would be my preferred method). The basic overview of using ASP would be to use includes. For instance, your main page (let' s call it Default.asp) could look something like this: <html>
<head>
<title>My Web Pages</title>
</head>
<body>
<table border=" 1" width=" 100%" >
<tr>
<td width=" 100%" colspan=" 2" ><!--webbot bot=" Include" U-Include=" header.htm"
TAG=" BODY" -->
<p> </td>
</tr>
<tr>
<td width=" 50%" ><!--webbot bot=" Include" U-Include=" navigation.htm" TAG=" BODY" -->
<p> </td>
<td width=" 50%" ><!--webbot bot=" Include" U-Include=" content.htm"
TAG=" BODY" -->
<p> </td>
</tr>
<tr>
<td width=" 100%" colspan=" 2" ><!--webbot bot=" Include" U-Include=" footer.htm"
TAG=" BODY" -->
<p> </td>
</tr>
</table>
</body>
</html> Of course, that is a very simplistic page. You would need to include some logic to determine which page(s) would need to be included. That could be done by using forms, querystrings, cookies, sessions, databases, etc. There are various places you could draw on, but the bottom line is you' ll need some way to determine which pages to write to the browser. The frame solution is probably the easiest, but many users won' t see your site / content because of it. That could use (in it' s simplest form) 2 frames: the upper frame could only be 1 pixel high and the lower frame containing your content. Does that make sense at all???
|
|
|
|