"hannibal" <td*******@jumpy.it> wrote in message
news:ei********************************@4ax.com...
On Sat, 27 Aug 2005 09:28:48 +0100, David Dorward <do*****@yahoo.com>
wrote:
http://www.w3.org/TR/html4/interact/....html#h-18.2.3
What onResize attribute?
Really interesting! But... Does thist mean that is impossibile to do
something when users resize browser's windows?
Not at all - but IE and FireFox behave differently.
In IE the resize event is thrown continuously as you resize (each "pixel
move" throws the event). In FireFox the event is thrown only after the
action is completed.
In complex applications I generally create a "setLayout()" function that
defines the elements of the application based on the current window size.
This function is then run onResize to manage the layout.
It tends to work fine in both browsers but IE's implementation is smoother
as the event is throw and the elements resize during the operation. In
Firefox the elements aren't resized until the operation is complete (until
the user releases the resize control).
Again - both work, they just work (slightly) differently.
Jim Davis