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.

nico51Asked:
Who is Participating?
 
Michel PlungjanConnect With a Mentor IT 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
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.