Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
- <!--
- * Copyright 2010-2011 Research In Motion Limited.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- -->
- <html>
- <head>
- <meta name="x-blackberry-defaultHoverEffect" content="false" />
- <link rel="stylesheet" type="text/css" href="bbui-0.9.4.css"><link />
- <script type="text/javascript" src="js/jquery181.js"></script>
- <script type="text/javascript" src="bbui-0.9.4.js"></script>
- <script type="text/javascript" src="js/webworks-1.0.1.6.js"></script>
- <script type="text/javascript">
- //document.addEventListener('webworksready', function(e) {
- // For some fun I did some random color scheme generation :o)
- var highlightColor,
- randomNumber;
- randomNumber=Math.floor(Math.random()*100);
- if (randomNumber > 90) {
- highlightColor = '#BA55D3';
- } else if (randomNumber > 60) {
- highlightColor = '#00BC9F';
- } else if (randomNumber > 30) {
- highlightColor = '#00A8DF';
- } else {
- highlightColor = '#B2CC00';
- }
- bb.init();
- bb.init({actionBarDark: true,
- controlsDark: true,
- listsDark: false,
- bb10ForPlayBook: false,
- highlightColor: highlightColor,
- onscreenready: function(element, id) {
- if (id == 'dataOnLoad') {
- dataOnLoad_initialLoad(element);
- } else if (id == 'masterDetail') {
- masterDetail_initialLoad(element);
- }
- if (bb.device.isBB10 && (id != 'input') && (id != 'pillButtons')) {
- var titles = element.querySelectorAll('[data-bb-type=title]');
- if (titles.length > 0) {
- titles[0].parentNode.removeChild(titles[0]);
- }
- }
- },
- ondomready: function(element, id) {
- if (id == 'MyPageSample') {
- dataOnTheFly_initialLoad(element);
- }
- }
- });
- //}, false);
- </script>
- </head>
- <body onload="bb.pushScreen('menu.html', 'menu');">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement