Forum Moderators: open

Message Too Old, No Replies

Window Title Bar on Pop Up Windows

         

Frank_Rizzo

12:12 am on Dec 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use a popup window script to open a new information page. Why does the title of that popup always display the full url including ht tp://? in IE but not Mozilla?

In index.html I have:

javascript:popup('blue_widgets.html')

This then opens a new window but the window name is

ht tp://www.widgets/blue_widgets.html')

instead of Blue Widgets as this is what is in the title tag.

Note that this only happens in IE. Mozilla correctly titles the window as Blue Widgets.

adni18

12:45 am on Dec 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try this:

var aperture=open("popup.html","popup");
aperture.document.title="Blue Widgets";