Solved

hide system menu in new window

Posted on 1997-08-29
3
196 Views
Last Modified: 2008-03-06
Is it possible to disable somehow, or even better not to display, system menu bar (closing , minimizing and maximizing buttons in top right corner of every window) when creating new browser window ?

Is there some option i can add to following command:

GetPluginWindow=window.open("GetPlugin.htm", "displayWindow",
"menubar=no,scrollbars=no,resizable=no,status=no,width=330,height=150,allign=center");
0
Comment
Question by:dziki1
  • 2
3 Comments
 
LVL 1

Expert Comment

by:skyflash
ID: 1269206
I only know one more thing:

toolbar=no

/Kenneth
0
 

Author Comment

by:dziki1
ID: 1269207
Thanks for quick help but unfortunately it didn't change a thing. Do you know if this is the last option i can use with window.open command ?
0
 
LVL 1

Accepted Solution

by:
skyflash earned 30 total points
ID: 1269208
It depends on the browser if it changes anything. It's possible what your browser removes toolbar already when menubar=no is selected. I don't think it's anything more (at least not with javascript 1.1) Is it so that you wants to remove the x in the upper right corner, that's not possible with an script. (only with an applet) If you don't want anyone to close your window I detected that it's possible to use onUnload to open an new identical window. It's not allowed to open this window with the same name, but you can open it with a new name and rename it onLoad.

/Kenneth
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now