This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Menu.definition: MenuDefinition { | |
| actions: [ | |
| ActionItem { | |
| title: "BBM Channel" | |
| imageSource: "asset:///IMG/ic_bbm.png" | |
| attachedObjects: [ | |
| Invocation { | |
| id: invokeBBMChannel | |
| query { | |
| invokeTargetId: "sys.bbm.channels.card.previewer" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta name="x-blackberry-defaultHoverEffect" content="false" /> | |
| <meta charset="utf-8"> | |
| <title>Shopping For Ebay</title> | |
| <link rel="stylesheet" type="text/css" href="CSS/bbui.css"><link /> | |
| <script type="text/javascript" src="JS/bbui.js"></script> | |
| <script type="text/javascript" src="JS/javascript.js"></script> | |
| <script type="text/javascript" src="local:///chrome/webworks.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //verify the welcome screen | |
| function verifywelcome(){ | |
| if (document.getElementById('checkbox').getChecked() == true) { | |
| alert('checkbox is checked'); | |
| //set the localstorage item | |
| localStorage.welcome = "true" ; | |
| } else if (document.getElementById('checkbox').getChecked() == false) { | |
| alert('checkbox is not checked'); | |
| //set the localstorage item | |
| localStorage.welcome = "false"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div data-bb-type="screen" data-bb-effect="slide-down" style="background-color:#4d4d4d;"> | |
| <div data-bb-type="title" data-bb-caption="Welcome!"></div> | |
| <div data-bb-type="round-panel"> | |
| <div data-bb-type="panel-header">Welcome To Your App!</div> | |
| <br> | |
| <center><image src="IMG/icon.png"></center> | |
| <div data-bb-type="label-control-container"> | |
| <div data-bb-type="row"> | |
| <div data-bb-type="label">You are finally here! You have decided to create your own app...<br><br> | |
| Your app can now have a welcome screen - isn't that really cool?! <br> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bb.cascades 1.2 | |
| Page { | |
| titleBar: TitleBar { | |
| title: qsTr("Settings") | |
| appearance: TitleBarAppearance.Branded | |
| dismissAction: ActionItem { | |
| title: qsTr("Close") | |
| onTriggered: { | |
| settingsSheet.close(); |