JQuery UI Panel does not close

JQuery UI Panel does not close

Hi i have a problem with the JQuery Panel. When I open the panel it does not close when I click on the outside of the panel. my header and my navbar go back to their old position but the panel is still open?

this problem only occures on Chrome. all works fine for Opera and the IE does not show anything.

here is my code please help me fix the problem:

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
  5. <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
  6. <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
  7. <title>Hase!!</title>
  8. </head>
  9. <body>
  10. <div data-role="page">

  11. <div data-role="panel" id="choice">
  12.    Test
  13. </div><!-- /panel -->
  14. <div data-role="panel" id="config" data-position="right">
  15.    Config
  16. </div><!-- /panel -->

  17. <div data-role="header" data-id="head" data-position="fixed">
  18. <div data-role="navbar">
  19. <input  type="search"/>
  20. </div>
  21. </div>
  22. <!-- content -->
  23. <div data-role="footer" data-id="foo1" data-position="fixed">
  24. <div data-role="navbar">
  25. <ul>
  26. <li><a href="#choice">Choose</a></li>
  27. <li><a href="#">View</a></li>
  28. <li><a href="#">Stats</a></li>
  29. <li><a href="#config">Konfiguration</a></li>
  30. </ul>
  31. </div><!-- /navbar -->
  32. </div>

  33. </div><!-- page -->
  34. </body>
  35. </html>







thank you

gangben