Popup Windows: location
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.