Msg#: 2165 posted 10:30 am on May 18, 2005 (gmt 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.
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.
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). ;)