Click to See Complete Forum and Search --> : avoid seeing URL using window.open


jitseschaafsma
12-09-2003, 05:16 AM
I have a doc with two frames.
From the bottum frame i want to open a new window (IE 6)
i use this command

var newWindow=window.open(null,"_blank","location=0,menubar=0,scrollbars=0,status=0,titlebar=0,toolbar=0")
When this window opens i still display an URL (to be more specific : the url from the bottoum frame)

I also tested "about:blank and ""

to no avail

I can i prevent the user toe see the URL.
Thanks Jitse

Gollum
12-09-2003, 06:39 AM
I take it they seeing the URL in the titlebar of the window.
If so, what you need to do is add a <title> tag to the <head> section in the document of your popup window. E.g.

var newWindow=window.open(null,"_blank","location=0,menubar=0,scrollbars=0,status=0, titlebar=0,toolbar=0");
newWindow.document.write("<html><head><title>The Hello World page</title></head><body>Hello World</body></html>");

jitseschaafsma
12-09-2003, 06:45 AM
Again
thanks
Jitse

Gollum
12-09-2003, 07:04 AM
No Probs!