04-27-2011 08:47 PM
Hi, I have have a canvas animition running. But I want that, when the canvas has focus, I could scroll using trakpad/trackball. The same, I want to zoom in/out using trackpad/trackball + Alt key when press.
I guess that setting focusable to true in the config file and x-blackberry-focusable="true" propertie of htmlElement can save me of coding the logic of the scrolling?
In the same way, what to do for zooming after setting in html:<meta user-scale=yes initial-scale=1.0/>?
I am using HTML5 and JavaScript.