[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Hide html-name in the "Location:"-Thing of Netscape???

I want to hide the full adress like:
  www.example.com/about.html

so that one can only see:
  www.example.com
0
qwertzu
Asked:
qwertzu
  • 2
1 Solution
 
heather8Commented:
As far as I know, the only way to do this would be to use frames - you could use a very small frameset so that the frames would go unnoticed.  Anyone else have a better idea?
0
 
rafisternCommented:
Heather is right. Here is the code.

<frameset rows="9999999,*" frameborder="0" border=0 framespacing="0">
<frame name="" src="about.html" marginwidth="0" marginheight="0" scrolling="Auto" frameborder="0" noresize framespacing="0">
<frame src="nothing.html">
</frameset>

The second frame here will be of zero size on all browsers. The reason I use rows="9999999,*" is that anything else will give a couple of gray pixels along the edge when using Netscape.
0
 
jhurstCommented:
I assume that you are trying to hide the real location.  This will not do what you want if I am correct since the right-click will still show the entire site.
0
 
rafisternCommented:
Right.

The only way to do this properly is by creating an alias on your server.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now