Click to See Complete Forum and Search --> : Resizing window
neil9999
12-05-2003, 11:16 AM
Hi,
i have a popup window. If the user resizes it, 1 second after the user stops resizing it a function should happen.
The logic would be something like this:
<body onresizestop="alert('bla bla bla')">
Thanks,
Neil
Khalid Ali
12-06-2003, 07:23 AM
there is no javascritp function/property called
onresizestop
what you may want to do is use the
onresize function and then use setTiemout() function to delay a bit and show a message
neil9999
12-09-2003, 12:15 PM
I know, I was just showing the logic of it, if I do as you suggested though, the user may still be resizing the window when the function is activated.
EG.
If you right click on the blue bar & click restore, then resize the window, when you first click the edge of the window it would activate the onresize the event. What I need is for the function to be activated a second after the mouse button is lifted after resizing the window.
I hope you know what i mean,
Thanks,
Neil