expandable.html 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Keep Expandable Panel in Accordion - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Keep Expandable Panel in Accordion</h2>
  14. <p>Keep a expandable panel and prevent it from collapsing.</p>
  15. <div style="margin:20px 0 10px 0;"></div>
  16. <div class="easyui-accordion" style="width:500px;height:300px;">
  17. <div title="Top Panel" data-options="iconCls:'icon-search',collapsed:false,collapsible:false" style="padding:10px;">
  18. <input class="easyui-searchbox" prompt="Enter something here" style="width:300px;">
  19. </div>
  20. <div title="About" data-options="selected:true" style="padding:10px;">
  21. <h3 style="color:#0099FF;">Accordion for jQuery</h3>
  22. <p>Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.</p>
  23. </div>
  24. <div title="Title1" style="padding:10px">
  25. <p>Content1</p>
  26. </div>
  27. <div title="Title2" style="padding:10px">
  28. <p>Content2</p>
  29. </div>
  30. </div>
  31. </body>
  32. </html>