aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes IE 6 hide menubar, toolbar in current window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "IE 6 hide menubar, toolbar in current window" Watch "IE 6 hide menubar, toolbar in current window" New topic
Author

IE 6 hide menubar, toolbar in current window

Adrian Enns
Ranch Hand

Joined: Aug 11, 2004
Posts: 48
I know that if you're opening a new window with the window.open(..) method you can state whether or not the menubar/toolbar will appear in the new window (Ie;window.open('NewWindow.html',null,'height=400,width=400,scrollbars=1,status=no,toolbar=no,menubar=no,location=no') .

I need to perform this same functionality (hide/show toolbar and/or menubar) in the user's current window.

There must be a way to do this!Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56168
    
  13

There must be a way to do this!


There isn't.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Well, there kind of is I think.

You would have to do it from a link or button and provide the following:



This would open the url in the same page instead of opening a new window.
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15229

Ok, I just tried it and while it loaded in the same window, none of the menus or anything went away. So maybe it doesn't work.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: IE 6 hide menubar, toolbar in current window
 
Similar Threads
how to remove toolbar,menubar from my jsp file
How to hide addressbar and toolbar of IE using Javascript?
Hiding addressbar, menubar onload
Hide toolbar of EXISTING window
how to hide toolbar,menubar in current window