dwessell
11-26-2006, 08:46 PM
Hey all,
I'm trying to open a window, and size it based on a image, of which I only know the size as the user clicks. Something like below.
myWindow = window.open('template.html','name','width=variable1','height=variable2');
However. I can't quite get the syntax. As above, it doesn't treat variable1 or 2 as a variable.. Any suggestions?
Thanks
David
I'm trying to open a window, and size it based on a image, of which I only know the size as the user clicks. Something like below.
myWindow = window.open('template.html','name','width=variable1','height=variable2');
However. I can't quite get the syntax. As above, it doesn't treat variable1 or 2 as a variable.. Any suggestions?
Thanks
David