Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3875
  • Last Modified:

How to hide toolbar, statusbar, menubar, locationbar of an existing window under Internet Explorer ?

Hello

How to hide toolbar, statusbar, menubar, locationbar of an existing window under Internet Explorer ?

Thanx in advance.

0
nico51
Asked:
nico51
  • 3
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
Not possible unless you abuse ActiveX.
And scripts that open a new window and tries to close the main window are considered denial of service attacks and are not allowed to be posted here (and rightly shouldn't)
If you decide to accept this comment as an answer, please do not punish the bearer of bad news just because you do not LIKE the answer

Thanks

Michel
0
 
jaysolomonCommented:
you can NOT do this in the parent window or main window.

You can do it in a pop up window, is this what you want
0
 
jaysolomonCommented:
sorry michel did not see your post

nico51 mplungjan is correct in his statement above.

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
GwynforWebCommented:
There are a few things you can do if it is not your window

You cannot remove toolbars from IE. You can remove the scrollbars by having scroll="no" in the  body tag.

In Netscape, you can do this:

netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
window.menubar.visible=!window.menubar.visible;  

but the user is prompted for permission

0
 
Michel PlungjanIT ExpertCommented:
and
javascript:document.body.scroll='yes'
will get them back ;)
0
 
Michel PlungjanIT ExpertCommented:
sorry, that was
javascript:void(document.body.scroll='yes')
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now