Solved

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

Posted on 2003-12-08
6
3,868 Views
Last Modified: 2008-02-01
Hello

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

Thanx in advance.

0
Comment
Question by:nico51
  • 3
  • 2
6 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 50 total points
ID: 9897261
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
 
LVL 16

Expert Comment

by:jaysolomon
ID: 9897268
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
 
LVL 16

Expert Comment

by:jaysolomon
ID: 9897408
sorry michel did not see your post

nico51 mplungjan is correct in his statement above.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

Expert Comment

by:GwynforWeb
ID: 9900068
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
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 9900494
and
javascript:document.body.scroll='yes'
will get them back ;)
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 9900504
sorry, that was
javascript:void(document.body.scroll='yes')
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question