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
quadcomm
Posts: 4
Registered: ‎02-21-2013
My Device: Playbook 1, Bold 9930
My Carrier: Rogers
Accepted Solution

No Back Button for Playbook and Z10

My WebWorks HTML5 application for Playbook and Z10 occasionally opens external web pages and at least in Playbook there is no back button while viewing the external web pages. How can I add a back button? I spent a couple hours searching for solutions, to no avail. I have looked at bbUI.js, but it does not seem capable of adding a back button while viewing external pages - unless I'm mistaken.

 

Any suggestions?

Please use plain text.
New Contributor
quadcomm
Posts: 4
Registered: ‎02-21-2013
My Device: Playbook 1, Bold 9930
My Carrier: Rogers

Re: No Back Button for Playbook and Z10

One idea is to create a frame and external pages will display within the frame, but a tool bar (particularly the back button) will always stay above or below the frame. I'm however afraid that frames are depreciated in HTML - any suggestions?

Please use plain text.
Developer
ndsmyter
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
My Carrier: Mobile Vikings

Re: No Back Button for Playbook and Z10

Are these links opened in the app itself, or are you using links to the BB browser ? I guess that it will probably be the first, so then you will probably have to add some kind of back button.


A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
Please use plain text.
Developer
miamon
Posts: 181
Registered: ‎08-17-2008
My Device: Red BlackBerry Z10
My Carrier: Vodafone

Re: No Back Button for Playbook and Z10

For bb10 your solution is childBrowser: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/childBrowser

Josep Maria
Please use plain text.