PDA

View Full Version : Browser resized event


hipik
02-28-2008, 09:03 AM
Hi all,

Can someone help me with the browser(canvas) resize issue.
Question: Is there a way to receive an event when browser(canvas) width and/or height has changed (by this I don't mean with simple onwidth or onheight handlers because I need to receive this event when the canvas is resized not resizing!!!)

Thanks

Hipik ZM

rcyeager
03-04-2008, 11:34 AM
The onwidth and onheight handlers will trigger whenever the canvas is resized in width or height.

If you don't want to perform processing upon every event, then you will need to add some code to determine when the user has finished dragging the browser window dimensions...probably by using a LzTimer (or perhaps LzIdle) every so often to wait for steady-state of the canvas dimensions.

Robert
http://www.qrowd.com
http://www.cooqy.com

hipik
03-16-2008, 04:32 AM
Thanks,

I guess thats the only way to solve it.
I was just hoping that there would be some global(from heaven) event fired from Browser :rolleyes:

All the best !

Hipik ZM