Popup Windows: toolbar

toolbar toolbar indicates if there should be toolbar in the popup. The toolbar is the bar at the top of the window with buttons for going forward, back, home, and other major navigational tasks. By default the toolbar is not in the popup. To set a popup to have a toolbar set toolbar to yes.

So, for example, this open() command in the popup script creates a popup with a toolbar:

window.open(href, windowname, 'width=400,height=150,toolbar=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.