Jquery mobile slide panel help

Jquery mobile slide panel help

Hello all,

I am pulling my hair out trying to get the jQuery mobile slide panel to work. I think my HTML is correct but I must be missing something.

Here is the jQuery page i have been following http://jquerymobile.com/branches/slide-panel/docs/panels/index.html

Below is my page HTML.

<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<body>
<div data-role="page">
  <div data-role="panel" id="menu" data-theme="a" class="ui-response">
    <li><a href="#">Option 1</a></li>
    <li><a href="#">Option 2</a></li>
    <li><a href="#">Option 3</a></li>
    <li><a href="#">Option 4</a></li>
    <li><a href="#">Option 5</a></li>
  </div>
  <!-- /panel -->
 
  <div data-role="header" class="heading"> <a href="#menu" data-role="button" data-display="overlay" data-position="left" data-dismissible="true">Button</a>
    <h1>Title</h1>
  </div>
  <!-- /header -->
 
  <div data-role="content">
    <ul data-role="listview" data-inset="true" data-filter="false">
      <li><a href="#">Option 1</a></li>
      <li><a href="#">Option 2</a></li>
      <li><a href="#">Option 3</a></li>
      <li><a href="#">Option 4</a></li>
      <li><a href="#">Option 5</a></li>
    </ul>
  </div>
  <!-- /content -->
 
</div>
<!-- /page -->

</body>
</html>

Any help would be greatly appreciated.

Regards
Jonny