Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
danny01
Posts: 4
Registered: ‎06-05-2012
My Device: 9000
My Carrier: Maxis

WebWorks Javascript extension - zoom in/out on page

Hi,

Currently Im starting developing webworks application for OS 5 device, Is it possible to control the zoom in/out screen layout using webworks extension ? I have look through the meta tag viewpoint, but it doesnt do what I want...(e.g prevent zoom in on button, text field..., not able to zoom out after zoom in)

 

Thanks!

 

 

regards,

danny

Please use plain text.
Trusted Contributor
NitishSubudhi
Posts: 166
Registered: ‎12-09-2011
My Device: 9550,9300,9800,9700,9900,9850,9860

Re: WebWorks Javascript extension - zoom in/out on page

As per my opinion it can't be possible.
But lets watch if any one having the code regarding to this matter or having any idea to solve this. 

Thanks & Regards,
Nitish Subudhi

Feel Free To Press The Like Button On The Right Side To Thank The User That Helped You.
Please Mark Posts As Solved If You Found a Solution.
Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: WebWorks Javascript extension - zoom in/out on page

I don't believe this is possible on OS 5 devices.  The web engine does not provide an API to allow the Java layer to control its zoom level.  As you indicated, 5.0 does support the viewport meta tag.  However this tag only determines a page's initial view level unless you are using the user-scalable=no property, which I'm not sure fully works in 5.0 (it does in BB6+).

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
New Developer
shivam284
Posts: 108
Registered: ‎01-23-2012
My Device: torch,bold,curve,strom
My Carrier: Blackberry

Re: WebWorks Javascript extension - zoom in/out on page

I am thinking it is not possible.

Thanks & Regards,
Kumar Shivam
Please use plain text.