Popup Windows: location

location bar in a popup window The location bar is where the URL is displayed at the top of the window. By default popups don't have location bars. To configure the popup so that it has a location bar set location to yes in the open() command.


So, for example, this command in the popup script opens a popup with a location bar:

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