views:

282

answers:

2

How to open new window without titlebar.

+2  A: 

You can't (thankfully), at least not in common browsers in a standard web security context.

David Dorward
A: 

Every window opened by Javascript will have a titlebar. You only have control over whether scrollbars, statusbars, and toolbars are present in the opened window.

To get a headless "pop-up" effect, look into a library like LightBox that can do these sort of effects. You're not actually opening a new window according to the user-agent, but the behaviour is similar.

Ryan Brunner