Popup Windows: menubar

menu bar in a popup window The menu bar is the menu for the popup window. By default popups don't have menu bars. You can configure the popup to have a menu by setting menubar to yes in the open() command. So, for example, this open() command in the popup script configures the popup to have a menu bar:

window.open(href, windowname, 'width=400,height=150,menubar=yes,scrollbars=yes');

which gives us this popup.

About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.