You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for your zoomooz plugin.
I am building iPhone apps in html and found your plugin a great help when resizing the content to fit a iPad screen by simply zooming one of the top nodes.
but I have one suggestion:
it is currently not possible to zoom an element instantly, I mean without animation.
When setting the duration to 0, the zoom is animated anyway, and when setting the duration to a tiny value ( ex: 10 or 30 ) then it gives unexpected results.
It seems the element doesn't have time to fully zoom before the end of the timing.
Would be great if you could implement a 'duration zero zoom' in a future update.
All the best
Clément
//
Janne:
Thanks for your feedback! Will consider this.
By using the "nativeanimation:true" and having "duration:0", the animation should happen instantly. This should work on iPhones/iPads.
//
Hello janne,
Unfortunately not, you can clearly see the zoom happening when using
those settings:
var settings = {targetsize: 1,scalemode: "both",duration:
I made an example case for zero-duration animations. I don't see any zooming happening on Webkit browsers. On Firefox there is a small refresh ~1 sec after zooming, but I don't know if there is anything that can be done about it.
Have a look at the example and comment if the problem reproduces in it, what browser you are using and how the problem can be identified:
I tested the example page on Safari, Chrome, Firefox and iOs 7 on iPhone and at least with the current Zoomooz, didn't see any problems with instant animation. Also, haven't received any comments from Clément, so will close this for now.
Hekki Janne,
thank you for your zoomooz plugin.
I am building iPhone apps in html and found your plugin a great help when resizing the content to fit a iPad screen by simply zooming one of the top nodes.
but I have one suggestion:
it is currently not possible to zoom an element instantly, I mean without animation.
When setting the duration to 0, the zoom is animated anyway, and when setting the duration to a tiny value ( ex: 10 or 30 ) then it gives unexpected results.
It seems the element doesn't have time to fully zoom before the end of the timing.
Would be great if you could implement a 'duration zero zoom' in a future update.
All the best
Clément
//
Janne:
Thanks for your feedback! Will consider this.
By using the "nativeanimation:true" and having "duration:0", the animation should happen instantly. This should work on iPhones/iPads.
//
Hello janne,
Unfortunately not, you can clearly see the zoom happening when using
those settings:
0,nativeanimation: true,root: jQuery("#mainWrapper")}
jQuery("#zoomWrapper").zoomTo(settings);
Best regards
Clément
The text was updated successfully, but these errors were encountered: