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