|
| |
|
|
mack2313
Posts: 60 Joined: 9/11/2002 Status: offline
|
Address bar - 9/25/2002 10:24:02
How do you make it where when a person goes to a child page on your site, it does not show in the address bar? I dont want people to know the name of the file or at least it does not show in the address bar? TIA
|
|
|
|
rdouglass
Posts: 9272 From: Biddeford, ME USA Status: offline
|
RE: Address bar - 9/25/2002 10:55:16
I personally don' t know how to hide the address but you may be able to use ' includes' to get around that. For instance, you may be able to have a virtually blank page that includes other pages with the content you' re looking for. I have no idea whether that would accomidate you or not. Maybe if you provide a few more details, someone may be able to come up with something.....
|
|
|
|
mack2313
Posts: 60 Joined: 9/11/2002 Status: offline
|
RE: Address bar - 9/25/2002 12:01:56
OK... Basically what I am wanting is lets say you are at www.website.com and there is a link on the site to feedback.asp and when you click on it you are not at www.website.com/feedback.asp i want the address bar to say www.website.com instead of following the link in the address bar? Hope that helps more. TIA
|
|
|
|
rdouglass
Posts: 9272 From: Biddeford, ME USA Status: offline
|
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???
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|