[thelist] indirect value for 'width' and 'height'
Cristian Secara
secarica at fx.ro
Fri Jan 26 21:03:31 CST 2001
On Fri, 26 Jan 2001 17:27:35 -0800, Candace Maynard wrote:
>You have variable names inside of the quotes. You need to pull them out
>of the quotes:
>width=' + value1 + ', height= ' + value2 + 'everything else'
It worked well, thank you !
Best wishes,
Cristi
>-----Original Message-----
>From: Cristian Secara [mailto:secarica at fx.ro]
>Sent: Friday, January 26, 2001 5:22 PM
>To: thelist at lists.evolt.org
>Subject: [thelist] indirect value for 'width' and 'height'
>
>
>Is it possible to assign indirect values for 'width' and 'height'
>parameters of the window.open function:
>
><SCRIPT LANGUAGE="javascript">
>var value1 = some_numeric_value;
>var value2 = some_numeric_value;
>function NewWindow(thatpage)
>{
>thing =
>window.open(thatpage,"ShowWindow",'menubar=0,[...etc...],width=value1,he
>ight=value2');
>}
></SCRIPT>
>
>My tests have failed. Am I missing something or is this not possible ?
More information about the thelist
mailing list