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
Developer
Posts: 281
Registered: ‎05-31-2012
My Device: Playbook
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.
Contributor
Posts: 35
Registered: ‎09-15-2012
My Device: AT&T Torch 9810
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.

New Contributor
Posts: 5
Registered: ‎10-12-2012
My Device: N/A
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  but the link coming with the image seems work well)







SVBBDev



Posts: 94,493
Likes: 24,392
Solutions: 6,349
Registered: ‎04-01-2008
My Device: Passport • Z30 • Z10 • Torch9850 • Playbook
My Carrier: Verizon

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.
>> NEW! 10% discount on BlackBerry devices from ShopBlackBerry.com, including PRIV


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.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
Highlighted
Contributor
Posts: 33
Registered: ‎04-30-2012
My Device: PlayBook, DevAlpha
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.

New Contributor
Posts: 5
Registered: ‎10-12-2012
My Device: N/A
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



New Contributor
Posts: 5
Registered: ‎10-12-2012
My Device: N/A
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



Posts: 94,493
Likes: 24,392
Solutions: 6,349
Registered: ‎04-01-2008
My Device: Passport • Z30 • Z10 • Torch9850 • Playbook
My Carrier: Verizon

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."

 

>> NEW! 10% discount on BlackBerry devices from ShopBlackBerry.com, including PRIV


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.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
New Contributor
Posts: 5
Registered: ‎10-12-2012
My Device: N/A
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






SVBBDev



Developer
Posts: 669
Registered: ‎02-19-2011
My Device: BlackBerry PlayBook 32GB
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