• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 222
  • Last Modified:

hide system menu in new window

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
dziki1
Asked:
dziki1
  • 2
1 Solution
 
skyflashCommented:
I only know one more thing:

toolbar=no

/Kenneth
0
 
dziki1Author Commented:
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
 
skyflashCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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