humphrey88 0 Report post Posted August 19, 2006 HiIs it possible to retain the URL of a website?Example: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?thank you. Share this post Link to post Share on other sites
TavoxPeru 0 Report post Posted August 20, 2006 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. Best regards, Share this post Link to post Share on other sites
Pharoah 0 Report post Posted August 20, 2006 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. Share this post Link to post Share on other sites
OpaQue 15 Report post Posted August 22, 2006 I think there is a javascript code to do this.. Share this post Link to post Share on other sites
dhanesh1405241511 0 Report post Posted August 22, 2006 I think there is a javascript code to do this..Frames bro FRAMES ! god damn annoying HTML invention ! I asked this everywhere around ... and the only thing people could come up with is iframes .. If you find a javascript code .. please do post it .. But as far as saving url and bookmarks are concerned .. i have seen sites with the same url in the bar .. but when i bookmark the page .. and then go to that particular site from my favourites .. the SAME page opens but with its original url .. m still wondering how they do that. Probably as u said .. javascript ..RegardsDhanesh. Share this post Link to post Share on other sites
Quatrux 4 Report post Posted August 24, 2006 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 Share this post Link to post Share on other sites
Pharoah 0 Report post Posted August 25, 2006 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. Share this post Link to post Share on other sites
vhortex 1 Report post Posted August 25, 2006 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.. Share this post Link to post Share on other sites