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
elva_L
Posts: 9
Registered: ‎03-06-2012
My Device: 9930
My Carrier: 9930

How to enforce the default browser?

Just like the default browser.  If we are browsing the page, then we pull-down the page and the address bar will shrink. when we pull-up the page, it will popup. How can I enforce it like this? Could someone give me samples? or the code.

Please use plain text.
Regular Contributor
BertKoor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: How to enforce the default browser?

[ Edited ]

I think you're referring to the Swipe up & down gestures.

See for an example http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Sample-Code-Swipe-down-menu-for-...

In the default browser it's the address bar, in this sample it's a menu which is shown / hidden, but it's up to you what content is brought up.

Please use plain text.
New Contributor
elva_L
Posts: 9
Registered: ‎03-06-2012
My Device: 9930
My Carrier: 9930

Re: How to enforce the default browser?

sorry, mybe you are right. But I can't understand well. whether It can only be enforced by JavaScript and CSS? I am a new programmer.

Please use plain text.