You are not logged in.

1

Monday, May 21st 2012, 7:07am

Is there any way to trace the resize event is completed?

Hi Kluas,

I want to do show/hide some controls once resize event will be completed or user stop the resizing the window from corner of the window.

How can I trace the resize event is completed or nor? Is there an any event like "onresizecompleted" in KRPano?

How can I achieve this?

Please help?

--
Thanks
pratiks

2

Wednesday, May 23rd 2012, 11:06am

Hi,

what do you mean with completed?

when the users stops dragging the window or browser border?
that's not detectable...

you could maybe delayed the real onresize code call and check if the sizes are still changing and do that your real onresize code only when the sizes between the onresize event and your delayedcall kept the same...

but why that?
e.g. in some operation systems the 'window maximize' is also animated and will also call constantly onresize events, it's not possible to differ that from user resize changes...

best regards,
Klaus