This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Multiple call to onresize event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Multiple call to onresize event" Watch "Multiple call to onresize event" New topic

Multiple call to onresize event

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
I have following code in my page.

When I maximize my window, onresize event is getting fired and I am getting the alert message. However, when I restore the same window and maximize it again, resize event is not getting fired and I am not getting alert.

I tried in IE and FF both.

My blood is tested +ve for Java.
It is sorta covered in the JavaRanch Style Guide.
subject: Multiple call to onresize event
It's not a secret anymore!