Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Montag, 21. Mai 2012, 07:07

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

Mittwoch, 23. Mai 2012, 11:06

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