This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes Disabling browser toolbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Disabling browser toolbar" Watch "Disabling browser toolbar" New topic
Author

Disabling browser toolbar

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 196
Hi all,
In my application,I have to remove whole toolbar of the browser(IE 6.0),so that only my screens are visible(jsp page containing tiles defs).I do
not know how to do this.Can anybody help in this context?

with regards,
ajse
Scheepers de Bruin
Ranch Hand

Joined: Jul 19, 2005
Posts: 99
The only way I can think of, is to pop up a new window using javascript.
The downside to this, is that your user browses to the site, it pops up the dialog, and the 'original' window is still open...

Now you can close it, but some browsers will close your 'child' window as well.

You can use the window.open()
method, and set the features to not display the toolbars.
This does not disable the toolbar button keyboard shortcuts like backspace for back, though.


We're doomed!!<br />Yay!!!<br />No that's bad Girr!!<br />Yay!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disabling browser toolbar
 
It's not a secret anymore!