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:
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
- <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
- <title>Hase!!</title>
- </head>
- <body>
- <div data-role="page">
- <div data-role="panel" id="choice">
- Test
- </div><!-- /panel -->
-
- <div data-role="panel" id="config" data-position="right">
- Config
- </div><!-- /panel -->
- <div data-role="header" data-id="head" data-position="fixed">
- <div data-role="navbar">
- <input type="search"/>
- </div>
- </div>
- <!-- content -->
-
- <div data-role="footer" data-id="foo1" data-position="fixed">
- <div data-role="navbar">
- <ul>
- <li><a href="#choice">Choose</a></li>
- <li><a href="#">View</a></li>
- <li><a href="#">Stats</a></li>
- <li><a href="#config">Konfiguration</a></li>
- </ul>
- </div><!-- /navbar -->
- </div>
- </div><!-- page -->
-
- </body>
- </html>
thank you
gangben