PDA

View Full Version : resize handles popup window


chartrandi
09-19-2003, 04:26 PM
Newbie question : I'm using the following script to make a pop-up window.

<script language="Javascript">
function newwin1() {
window.open('caselaw.html','links1','scrollbars=yes,width=430,height=350,left=110,top=250') }

I specified the width and height but on some computers, because of the resolution (?), the content of the popup is too big for the window and it gets cropped. I need the resize handles that usually appear on the lower right corner of a popup to be there, allowing the user to resize the popup at anytime.

Right now I can't resize. I have tried to put the code resize=yes but it doesn't work. I noticed that the "maximize" icon on the popup is grayed-out (disabled). Any advice?

thanks! :)

cheesebag
09-19-2003, 04:29 PM
....inks1','scrollbars=yes,resizable,width=....

http://www.webreference.com/js/tutorial1/features.html

chartrandi
09-19-2003, 04:39 PM
It's working, thanks a lot !

Is there any way to visually indicate it's resizable, i.e. in Windows we usually have little oblique graphic lines meaning "you can grab this corner and stretch it"...

-Isabelle