problems with function window onresize
|
| View previous topic :: View next topic |
| Author |
Message |
Roombor
Joined: 02 Jun 2006 Posts: 111
|
| I'm playing with window.onresize = alert('resized'); but it fires only at the first load and not when expected |
| |
|
|
|
|
kadamat
Joined: 01 Jun 2006 Posts: 88
|
Window.onresize should work
Although using an alert isn't the best way
Because it stops you from resizing as soon as it fires
I usually just write to a div, or with firebug you can use console.log('blah'); |
| |
|
|
|
|