views:

363

answers:

4

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 ?

A: 

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.

Thorsten Dittmar
+6  A: 

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

Svitlana Maksymchuk
Remeber that users can force their browser to always show toolbars and status bars.
gnud
+1  A: 

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.

erenon
Why is a fake window always better? Some users (e.g. me) like to able to bookmark popups, if they're actually useful.
Matthew Flaschen
@Matthew: imo its a design error to communicate such an information in a popup that is worth to bookmark.A popup shows a status of a process to the user or gives some informations, but its not a whole page.
erenon
A: 

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

Ms2ger
I would usually agree with you, but I have a genuine requirement to do it!
IainMH
I agree with this sentiment in principle, but there are good reasons to do this in the right context. For example in a web application where you need to maximize screen real estate. But, for a typical website, this is not a good idea.
JohnFx