davehaz
06-01-2006, 03:34 PM
howdy,
I am attempting to write a script that determines the screen resolution but am having problems using the variables I have created.
var screenw = (window.screen.width)
var screenh = (window.screen.height)
window.open(a, 'determined','toolbar=yes,scrollbars=yes,resizable=yes,location=yes,directories=yes,menubar=yes,stat us=yes,width=screenw,height=screenh');
when I use this I get a very small window opened. What am I doing wrong here?
thanks.
I am attempting to write a script that determines the screen resolution but am having problems using the variables I have created.
var screenw = (window.screen.width)
var screenh = (window.screen.height)
window.open(a, 'determined','toolbar=yes,scrollbars=yes,resizable=yes,location=yes,directories=yes,menubar=yes,stat us=yes,width=screenw,height=screenh');
when I use this I get a very small window opened. What am I doing wrong here?
thanks.