Learn HTML Code Tutorial Reference Guide

Popup Windows: location

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

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

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