Is it possible to retain the URL of a website?
The user log on to http://abc.go.com/.
After he clicked a link to go to another page, the address bar would still retain http://abc.go.com/
I have been searching this using search engines but I just could not find what I wanted.
Therefore, can anyone here teach me how to do this?
I view this behavior in many sites, i think they do it with the use of an iframe, so you will have 2 pages, one main page and one with your links. Lets view it with an example.
mainpage.htm:<html><head><title>Main Page</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head><body><!-- here you can put whatever you want --><!-- set your iframe whatever you want --><iframe src="linkspage.htm" name="target_iframe"></iframe></body></html>linkspage.htm:<html><head><title>Links Page</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head><body><a href="http://forums.xisto.com/&; target="_self">Xisto</a><br /><a href="https://www.google.com/&%2334; target="_self">Google</a><br /><a href="http://forums.xisto.com/no_longer_exists/; target="_self">Yahoo</a><br /></body></html>I'm not 100% sure if it is the way they implement this but this example works fine.
Personally, i find this kind of URL behavior annoying. Do you have a good reason for needing it, because sometimes it makes it hard to copy for links and stuff like that, and to bookmark.
I would encourage you to not do such things, why don't you want to show the full path to the content? Besides it is much better for search engines, search engines never liked or likes frames and iframes too
Well it could be to hide because he's ashamed of the free host :DAnyway i'd advise against this because some browsers don't support frames, and iframes are the least of all. You shouldn't do this unless there's a really good reason.
Well it could be to hide because he's ashamed of the free host
Anyway i'd advise against this because some browsers don't support frames, and iframes are the least of all. You shouldn't do this unless there's a really good reason.
it is also possible that he is trying to hide the real host location..
i use to do that when i was doing my own hosting for myself..
that was just a few months ago when i stop when someone tried to DDOS me. sad sad person.. my zonealarm blocks the access..
i turned it down anyway since it gives me some worries if some of the attacks do break in.. i dont want a pc that turns into a spam daemon server or used for porn and warez..
|VIEW DESKTOP VERSION||REGISTER||GET FREE HOSTING|