Learn HTML Code Tutorial Reference Guide

Popup Windows: menubar

menu bar in a popup windowThe 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.

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial