digy
digy

Reputation: 2903

Open html link in new window with no browser toolbars

I know that I can open html links in a new window by using target="_blank", but how can I hide/disable all the browser toolbars ?

Upvotes: 5

Views: 5516

Answers (4)

Svitlana Maksymchuk
Svitlana Maksymchuk

Reputation: 4440

You should use window.open('url to open','window name','toolbar=no');

Upvotes: 9

Ms2ger
Ms2ger

Reputation: 15983

Don't do that. Seriously. It's one of the better ways to drive away users.

Upvotes: 0

erenon
erenon

Reputation: 19118

window.open('your url here','name','toolbar=0,status=0');

With Javascript. But it's better and usable, if you create a fake window with javascript.

Upvotes: 1

Thorsten Dittmar
Thorsten Dittmar

Reputation: 56697

I suppose the only way to do that is to use the JavaScript Window.open function. I don't know of any HTML/CSS-only way of hiding browser controls.

Upvotes: 0

Related Questions