li*******@gmail.com said the following on 5/30/2007 11:09 AM:
I need to open a new window from an existing HTML page to a site in
which we do not want to show the address for. I have set the titlebar
to no but it will still place the title on the titlebar Here's my
function code:
function myOpen()
{
window.open("http://
www.somewhere.com","mywindow","location=no,titleba r=no");
}
I am calling it by the following line:
<img src="art.gif" onclick="myOpen()">
Any help you can provide would be extremely appreciated!!
Help: Stop trying to hide the URL and your life will be simpler. The
reason is that people have abused it so much that the browser people
have started listening and removed the ability to hide the address bar.
If you feel you *must* hide it, try using a dummy URL of your own domain
that will then load the real site in an IFrame set at 100%.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -
http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/