PDA

View Full Version : Animation zoomed out



webmaven
4 Oct 2011, 11:15 AM
I created my first animation. I switched the default size from landscape (smartphone size 480x320) to portrait (320x480). The animation works fine but when you visit the site with a smartphone the animation is zoomed out and only appears in 1/4 of the screen. You can scale it up and it looks good but it does not start out that way.

Any ideas.
Raymond

arnebech
4 Oct 2011, 9:28 PM
Raymond,
I believe you can predefine the zoom level or content with on mobile devices using the
meta viewport tag. https://developer.mozilla.org/en/Mobile/Viewport_meta_tag
(https://developer.mozilla.org/en/Mobile/Viewport_meta_tag)That might address your issue.

webmaven
5 Oct 2011, 4:33 AM
This was the problem and I set the zoom level and it worked. Thank you for your help

Zuhaib Sarfraz
16 Nov 2011, 2:03 PM
viewport width or screen width could be the prblem


I created my first animation. I switched the default size from landscape (smartphone size 480x320) to portrait (320x480). The animation works fine but when you visit the site with a smartphone the animation is zoomed out and only appears in 1/4 of the screen. You can scale it up and it looks good but it does not start out that way.

Any ideas.
Raymond

teslin
17 Nov 2011, 9:09 AM
I am glad to learn that you did your first animation. Anyway, regarding the problem you had been facing, there is a great chance that the width of viewport or screen could be causing the problem. Predefining the zoom content and level using the Meta viewport tag on mobile devices was a smart move.