View Full Version : Cleanest Way to Pop-Up

04-17-2007, 10:10 PM
I am trying to find the most code-effective way to make a pop-up window. That is, I want to use the least amount of code possible to specify a new window with no address bar, no status bar, no scroll bar, specified height/width etc.

Any help much appreciated.

04-18-2007, 04:52 AM
You can't turn off the address bar or status bar as modern browsers don't allow it. Any height/width specification may or may not work depending on individual browser settings.


04-18-2007, 07:25 AM
I should have worded it differently. I do not wish to turn them off, just make them not visible. I have seen this code before but do not know what it looks like in context. Is it like this...

<a href="javascript.window.open('page.htm','_blank','width=250,height=260,scrollbars=no') />

I apologize for the noob questions, I am quite new to javascript.