Languages

Menu
Sites
Language
Disable zoom in and scrolling

Hi, Im making a web app and I was wondering if it is possible to disable zooming in and out and scrolling as it messes up the entire app.

Thanks!

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 Replies
Raghu Kona
Are you planning to have a custom zoom and scroll feature? Scrolling is enabled based on the size of the page. Regards, Raghu Kona
Lakshmi Grandhi
scroll can be disabled by use css property overflow:hidden to body.
Volodymyr Zubariev

For disabling zoom, meta tag can be used in index.html

<meta name="viewport" content="user-scalable=no"/>

 

As I understood, you meen not scrolling of controls inside page, but Tizen specific scrolling ?

You can set up listener on body (or control you need) for "ontouchstart" and "ontouchmove" and prevent bubling to do that.

I'm not sure are there more easy way like with zoom.

Alexander AVSukhov