Topic awaiting preservation: Serious this is silly now (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-26-2004 03:10
I'm I missing something? |
Nervous Wreck (II) Inmate From: Juneau, Alaska |
posted 06-26-2004 07:11
This is a long shot, but did you try capitalizing the "R" in "resize?" I'm not sure, but I think JavaScript is case-sensitive in this respect. Just a random shot from a newbie Good luck. |
Paranoid (IV) Inmate From: France |
posted 06-26-2004 17:01
bitdamaged: the syntax is : code: window.onresize = somefuntion That way, you assigns the _handler_ of your function called somefunction to the window.onresize event. You could also do it by declaring the function while assigning it to the event handler : code: window.onresize = function() Or you could also create a new Function object. Well you get the idea |