gautham
gautham

Reputation: 1

How to open new window without titlebar in javascript

How to open new window without titlebar.

Upvotes: 0

Views: 1753

Answers (2)

Ryan Brunner
Ryan Brunner

Reputation: 14851

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.

Upvotes: 0

Quentin
Quentin

Reputation: 943537

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

Upvotes: 3

Related Questions