11-27-2012 12:33 AM
Hi,
I am developing a web application for Blackberry using webworks along with jquery.
I want to lock the screen. When i slide the screen the whole app moves along with it. How can i lock it?
Regards,
Annuk
11-27-2012 01:47 AM
Can you please describe more about what you want!!!!
because it's seems very less information to find the solution for your app..
11-27-2012 01:26 PM
Hello Annuk,
If I'm unsterstanding correctly, you mean that touch events cause your entire screen to pan around, is that right?
If so, generally this occurs if content is overflowing beyond the edges of the screen. A quick way to address this is to add a container <div> as your root element (i.e. in your <body> and set its CSS properties to the dimension of the screen, along with overflow: hidden to prevent any items from extending beyond the container. If all elements are contained within the screen, it should not pan on touch events.