Learn HTML Code Tutorial Reference Guide

Popup Windows: resizable

By default popups cannot be resized by the user. This is usually not a problem... most popups just contain small notes or ads. If your popup contains a lot of information, however, it's a nice touch to let the user resize the window to something more convenient. Set the popup to resizable by setting the resizable property to yes in the open() command. For example, this command in the popup script opens a resizable popup:

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