This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

BB10 test page

By: sethadam1 on Nov 19th, 2012  |  syntax: HTML  |  size: 1.18 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Phish.net for BB10</title>
  7.    <link rel="stylesheet" href="dist/BlackBerry-JQM-all.min.css" />
  8.    <script src="dist/BlackBerry-JQM-all.min.js"></script>
  9.    <script>
  10.         $(function() {
  11.                 $('#pnlist').empty();
  12.                 $.ajax({
  13.                         url: 'http://api.phish.net/custom/bb10/years.js?callback=?',
  14.                         dataType: 'json',
  15.                         success: function(data) {
  16.                                 $.each(data, function(key, val) {
  17.                                         $('#pnlist').append('<li><a href="#'+val+'">'+val+'</a></li>');
  18.                                 });
  19.                         },
  20.                         error: function () { alert("Error loading setlist data!"); }
  21.                 });            
  22.                 $('#pnlist').listview('refresh');
  23.         });
  24.  
  25. </script>
  26. </head>
  27.  
  28. <body>
  29. <div id="home" data-role="page">
  30.   <div data-role="header"><h1>Phish.net Setlists</h1></div>
  31.   <div data-role="content">
  32.         <ul data-role="listview" data-inset="true" id="pnlist">
  33.                 <li><a href="http://phish.net/setlists/?default">Setlists</a></li>
  34.     </ul>
  35.   </div>
  36.  
  37. </div>
  38. <div id="pnet-content" data-role="page" data-add-back-btn="true">
  39.   <div data-role="header"><h1></h1></div>
  40.   <div data-role="content"></div>
  41. </div>
  42. </body>
  43. </html>
clone this paste RAW Paste Data