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
Visitor
wilkie14
Posts: 1
Registered: ‎03-26-2012
My Device: Bold 9700, Blackberry Playbook
My Carrier: 02

Help please! Trying to work out how to make a button in a playbook app

Hi there,

 

I am trying to create a playbook app at the moment and I was wondering if someone could help. Basically I want to create a button/buttons which will take me to another page on the app. These other pages are all separate HTML files. How do I link them to the main index page so you can access them by pressing a button?

 

Any help would be amazing.

 

Thanks!

Please use plain text.
Developer
Levion
Posts: 137
Registered: ‎12-22-2010
My Device: Curve 8520
My Carrier: Software Developer

Re: Help please! Trying to work out how to make a button in a playbook app

<button onclick="window.location='secondpage.html';">Second Page</button>

You can add this to your main index site.

Do you use a framework?

 

best regards

Please use plain text.