PDA

Click to See Complete Forum and Search --> : Remove Internet Explorers Toolbars


Pc_Madness
Apr 26th, 2002, 06:38 AM
How do I get rid of the IE toolbars (Address Bar, Menu Bar Navbar thing) and set the windows Height and width.

I need this in a New Window

Also I want I to add a "Close" Link at the bottom of the page which will close the window. I had some code for it a while back, but whenever I used it, it brought up a msgbox saying "this window is trying to be closed, etc"

Thanks in advance

punkpie_uk
Apr 26th, 2002, 07:16 AM
Here you go...


var w = open ('', 'windowName', 'width=300,height=300,titlebar=0');
w.document.open();
w.document.write('<HTML><BODY><A HREF="javascript: window.close
();">close<\/A>');