Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hide web address in the Address bar

Status
Not open for further replies.
Jul 17, 2003
155
US
Hi,

How can I hide address in the address bar?
 
only way I can think of is to have a frame page under a different address that links to the site you want to hide.
If you also want to hide the source of the page in the frame so that people don't see it if they view the page source, then put the page address in a seperate .js file in a variable, and put the variable in the HTML frame file.
 
only way i can think of is to have an html page that redirects a javascript open window page, where you take out the address bar and dropdown menu bar. i don't think there is another way to do it

David Kuhn
------------------
 
tmptest - no matter what you do to hide the URL, someone with the expertise can always see it.

However, there are various javascripts which will hide it from IE and Netscape, which encompass over 90% of users. excluding those with javascript turned off, of course :)

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Excellent news that you managed to find a solution.

Would you please post your findings/solution so that others following in your footsteps can benefit from your effort? It also means that others searching TekTips will have the answer displayed (rather than having to post the whole thread again).

Cheers,
Jeff
 
<html>
<head>
<title>hide address bart</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot;>
<script language=&quot;JavaScript&quot;>
PageURL=&quot;
WindowName=&quot;MyPopUpWindow&quot;;

settings=
&quot;toolbar=yes,location=no,directories=yes,&quot;+
&quot;status=no,menubar=no,scrollbars=yes,&quot;+
&quot;resizable=yes,width=600,height=300&quot;;

MyNewWindow=window.open(PageURL,WindowName,settings);

</script>
</body>
</html>
 
Ahh... a standard javascript popup window.

I think we were all under the impression you were talking about URL masking (so that the URL doesn't appear in the Address bar) - I certainly was. If you'd asked &quot;how do I hide the address bar&quot; you would have had everyone scrambling to give you the solution *grin*. Oh the wisdom of hindsight!

Thanks for sharing,
Jeff
 
and again with the cross-browser compatibility: not all browsers support frames :)

It's all very well to include fancy widgets and functions - to they all help improve the 'user experience': just keep in mind the functionality provided by older browsers (and alternative access devices such as PDAs or text-2-speech synthesisers) and make sure that there's a backup for them.

the backup for frameless browsers is the <noframes> </noframes> element.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
Have you thought about creating a &quot;borderless&quot; window?

[tt]

buffalo.gif height="73px" width="43px"

[sup]​
 
I don't know how borderless windows can be implemented and how to create it. Could you explain please.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top