Solved

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

Posted on 2003-12-08
6
3,867 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Javascript Form Change 5 31
Not allowed to load local recource. 4 34
HTML Anchor Link Problem 3 35
Copying table data to one another 15 29
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

856 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