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.