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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
smartek
Posts: 274
Registered: ‎05-31-2012
My Carrier: o2
Accepted Solution

How to disable zoom injQueryMobile-BB10-Theme app?

Hi I have a problem with the fact that the user can zoom in and out in my jquerymobile bb theme[1].

 

 

 

how can i disable this?

 

I tried this:

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

 but then the action bar and the header get smaller and the whole design dont look good.

 

[1] https://github.com/blackberry/jQueryMobile-BB10-Theme

Plase "+Like" my post if it was helpful.
Please use plain text.
Contributor
paroxysm
Posts: 18
Registered: ‎09-15-2012
My Carrier: AT&T

Re: How to disable zoom injQueryMobile-BB10-Theme app?

Try adding "minimum-scale=1.0, maximum-scale=1.0" in the meta's content as well.

Please use plain text.
New Contributor
Orchard
Posts: 5
Registered: ‎10-12-2012
My Carrier: N/A

Buttons on my Alpha B device

The buttons of my Alpha B device seem not work well, they do not pop back up right away after being pressed. Just like the ‘del’ button, it’ll delete the whole line instead of one character as soon as it’s pressed. And some other buttons do not send the characters to the display area after being pressed, and stay down until another button being pressed. How should I fix this? Thanks.

(By the way, Pls forgive my signature icon, I do not have permit to upload an image yet :Shifty: but the link coming with the image seems work well)







SVBBDev



Please use plain text.
JSanders
Posts: 67,194
Topics: 485
Likes: 20,535
Solutions: 5,272
Registered: ‎04-01-2008
My Carrier: Verizon • AT&T

Re: How to disable zoom injQueryMobile-BB10-Theme app?

You need ten posts in this forum to upload images. Go over to the welcome section and greet some new member to get ten or more posts.

Meanwhile, I'm nor sure why you're posting in this thread. It's unrelated.

1. If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.

Please use plain text.
Contributor
Gerii
Posts: 32
Registered: ‎04-30-2012
My Carrier: 3AT

Re: How to disable zoom injQueryMobile-BB10-Theme app?

[ Edited ]

Just add the script from this knowledge base article to the header of your index file and it should prohibit the user from zooming in without changing the size of your app: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-set-up-the-viewport-for-a...

 

@Orchard: From what I heard on this forum this issue should be fixed/less annoying with the next build of the SDK.

Please use plain text.
New Contributor
Orchard
Posts: 5
Registered: ‎10-12-2012
My Carrier: N/A

Re: How to disable zoom injQueryMobile-BB10-Theme app?

[ Edited ]

Thank you very much for the tips, JSanders. How can I move the post from one place to another? Thanks in advance.







SVBBDev



Please use plain text.
New Contributor
Orchard
Posts: 5
Registered: ‎10-12-2012
My Carrier: N/A

Re: How to disable zoom injQueryMobile-BB10-Theme app?

@Gerii: Hi, Gerii, thank you very much for the reply! It's very helpful ;O)






SVBBDev



Please use plain text.
JSanders
Posts: 67,194
Topics: 485
Likes: 20,535
Solutions: 5,272
Registered: ‎04-01-2008
My Carrier: Verizon • AT&T

Re: How to disable zoom injQueryMobile-BB10-Theme app?


Orchard wrote:

Thank you very much for the tips, JSanders. How can I move the post from one place to another? Thanks in advance.


You would click on the "Report Inappropriate Content" link below your name on the post in question, and ask the moderator(s) on duty to "please move this post to the XXXXX section of the forum."

 


1. If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.

Please use plain text.
New Contributor
Orchard
Posts: 5
Registered: ‎10-12-2012
My Carrier: N/A

Re: How to disable zoom injQueryMobile-BB10-Theme app?

Hi, Gerii, as you said, my Dev device button issue is fixed by upgrading to the newest OS build. Thanks again :Yes:






SVBBDev



Please use plain text.
Developer
TheMarco
Posts: 669
Registered: ‎02-19-2011
My Carrier: Sprint

Re: How to disable zoom injQueryMobile-BB10-Theme app?

I'm using the info from this KB article:

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-set-up-the-viewport-for-a...

 

However, the user can still zoom the page. Any thoughts?

Staff UI Prototyper (read: full-time hacker)


My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App

Please use plain text.