Welcome to WebmasterWorld Guest from 54.146.22.61

Forum Moderators: mack

Message Too Old, No Replies

URL - Hiding

URL - How can you stop the URL at the top of a page being viewed.

     
7:53 pm on May 17, 2005 (gmt 0)

New User

10+ Year Member

joined:May 17, 2005
posts:6
votes: 0


I am linking between two sites and am looking for a way to stop the URL showing at the top of browser pages.

Can anybody help?

10:48 pm on May 17, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 2, 2004
posts:48
votes: 0


I am linking between two sites and am looking for a way to stop the URL showing at the top of browser pages.

Not sure I understand what you mean. When you say, "at the top of the browser page" do you mean in the address bar? Or are you meaning the title bar that contains the <Title> tag?

10:30 am on May 18, 2005 (gmt 0)

New User

10+ Year Member

joined:May 17, 2005
posts:6
votes: 0


I am trying to stop the [domain...] name/file etc showing in the address field. We have two sites which are separate i dont want to show the url of the second site in the address line or in the blue at the top of the browser.

Hope this makes sense

3:14 pm on May 18, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 2, 2004
posts:48
votes: 0


You may want to look at creating a frameset or an iframe (inset frame) under the primary domain in which pages from the secondary domain are displayed. This will give the "illusion" that users are still on your primary domain whilst viewing pages that are actually on the second.

Look at some HTML reference guides on the web for more info on <FRAME> or <IFRAME> tags, and their usage.

3:24 pm on May 18, 2005 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 27, 2001
posts:12169
votes: 55


Anolonda has it. You can use either a frameset (top/bottom) frames or an <iframe>. Here's a simple <iframe> layout...

<iframe src="http://www.example.com/">
<h1>Heading</h1>
<p>If you are reading this message, that means your browser does not support the inline frame element. <a href="http://www.example.com/">Click here to access the document, thank you.</a></p>
</iframe>

In the above example, I am controlling all visual aspects of the <iframe> through my external CSS. What's nice about this method is that I can "float" the <iframe> in the center of the page and provide a top navigation element and bottom navigation element.

Using the <iframe> will present a scrollbar to the user in the center of the page (or wherever the <iframe> is positioned), which I've observed some users are still a little unfamiliar with.

P.S. Everything between the <iframe></iframe> is the area that get's indexed by the spiders. You can literally drop an entire page of structured content in there as that is what users will see that don't have <iframe> support (which is mostly bots). ;)

6:07 pm on May 24, 2005 (gmt 0)

New User

10+ Year Member

joined:May 17, 2005
posts:6
votes: 0


Thanks for the help. It worked