borderstyle.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Window Border Style - 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="../../themes/color.css">
  9. <link rel="stylesheet" type="text/css" href="../demo.css">
  10. <script type="text/javascript" src="../../jquery.min.js"></script>
  11. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  12. </head>
  13. <body>
  14. <h2>Window Border Style</h2>
  15. <p>This example shows how to set the different border style.</p>
  16. <div style="margin:20px 0;">
  17. </div>
  18. <div style="position:relative;overflow:auto;height:370px;border:1px solid #ddd">
  19. <div class="easyui-window" title="Window" data-options="width:300,height:150,left:10,top:10,inline:true">
  20. <p class="w-content">Window content</p>
  21. </div>
  22. <div class="easyui-window" title="Window" data-options="width:300,height:150,left:320,top:10,inline:true,cls:'c1'">
  23. <p class="w-content">Window content</p>
  24. </div>
  25. <div class="easyui-window" title="Window" data-options="width:300,height:150,left:630,top:10,inline:true,cls:'c2'">
  26. <p class="w-content">Window content</p>
  27. </div>
  28. <div class="easyui-window" title="Window" data-options="width:300,height:150,left:10,top:180,inline:true,border:'thin',cls:'c5'">
  29. <p class="w-content">Window content</p>
  30. </div>
  31. <div class="easyui-window" title="Window" data-options="width:300,height:150,left:320,top:180,inline:true,border:'thin',cls:'c6'">
  32. <p class="w-content">Window content</p>
  33. </div>
  34. <div class="easyui-window" title="Window" data-options="width:300,height:150,left:630,top:180,inline:true,border:'thin',cls:'c7'">
  35. <p class="w-content">Window content</p>
  36. </div>
  37. </div>
  38. <script type="text/javascript">
  39. $('.easyui-window').window({
  40. collapsible: false,
  41. minimizable: false,
  42. maximizable: false,
  43. closable: false
  44. });
  45. </script>
  46. <style type="text/css" scoped="scoped">
  47. .w-content{
  48. padding:5px 10px;
  49. }
  50. </style>
  51. </body>
  52. </html>