Problem with basic panel

Problem with basic panel

Hi,
I am just starting with JQM and am trying to have a basic sliding panel work but as soon as I add the panel to the code (see here below), I obtain the following error "cannot read property 'options' of undefined" and the page does not display at all (the loading icon is the only thing I get).
Could you please tell me what's going wrong?

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
  6. <meta name="apple-mobile-web-app-capable" content="yes">
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  8.     <title></title>
  9. <link href="/mobile/css/jquery.mobile-1.3.1.min.css" rel="stylesheet" type="text/css" />
  10. <script src="/mobile/script/jquery-2.0.2.min.js" type="text/javascript"></script>
  11. <script src="/mobile/script/jquery.mobile-1.3.1.min.js" type="text/javascript"></script>
  12. </head>
  13. <body>
  14.     <!-- Page! -->
  15. <div data-role="page" id="page1">
  16. <!-- panel -->
  17. <div data-role="panel" id="myPanel" data-position-fixed="true" >
  18. <p>This is my panel</p>
  19. </div>
  20. <div data-role="content">
  21. <div data-role="navbar" data-iconpos="left">
  22. <ul>
  23. <li>
  24. <a href="#myPanel" data-transition="fade" data-theme="b" data-icon="grid">
  25. </a>
  26. </li>
  27. <li>
  28. <a href="#page2" data-transition="fade" data-theme="" data-icon="info">
  29. </a>
  30. </li>
  31. </ul>
  32. </div>
  33. <div style=" text-align:center">
  34. <img style="width: 288px; height: 100px" src="/img/banner/cl2u_logo_PayPal.png">
  35. </div>
  36. <ul data-role="listview" data-divider-theme="b" data-inset="true">
  37. <li data-role="list-divider" role="heading">
  38. What do you want to do?
  39. </li>
  40. <li data-theme="c">
  41. <a href="#page3" data-transition="flip">
  42. <h1>Option 1</h1>
  43. <p>I want to do this</p>
  44. <span class="ui-li-count">
  45. 256
  46. </span>
  47. </a>
  48. </li>
  49. <li data-theme="c">
  50. <a href="#page4" data-transition="flip">
  51. <h1>Option 2</h1>
  52. <p>I want to do that</p>
  53. <span class="ui-li-count">
  54. 1589
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. <a data-role="button" href="#page5" data-icon="arrow-r" data-iconpos="right">
  60. Or even this...
  61. </a>
  62. </div>
  63. </div>
  64.       
  65.         <div data-role="page" id="page2">Page 2</div>
  66. <div data-role="page" id="page3">Page 3</div>
  67. <div data-role="page" id="page4">Page 4</div>
  68. <div data-role="page" id="page5">Page 5</div>
  69. </body>
  70. </html>