Repository navigation
Expand file tree
/
Copy pathlab_jquery.html
More file actions
43 lines (42 loc) · 1.46 KB
/
Copy pathlab_jquery.html
File metadata and controls
43 lines (42 loc) · 1.46 KB
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
<html>
<head>
<script type = "text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="lab_jquery.js"></script>
<style>
.dia {
margin: 5px;
border:2px solid black;
display: flex;
flex-direction: row;
width: 400px;
}
.top {
display: flex;
width: auto;
align-items: flex-begin;
flex-grow: 1;
flex-direction: column;
}
.bottom {
width: 7px;
height: 100%;
background: green;
}
</style>
</head>
<body>
<div> <input type ="button" id = "sb" value="show dialog"/></div>
<div id="dialog" class="dia">
<input type ="button" id = "close" value="x"/>
<div class="top">
<div style="display: inline-block;">
<p>appear now text text text text text text text text text text text text text text text text text text text text text text text text text text</p>
<p>appear now text text text text text text text text text text text text text text text text text text text text text text text text text text</p>
<p>appear now text text text text text text text text text text text text text text text text text text text text text text text text text text</p>
</div>
<div id="frame-grip-height" style="width: 100%; height: 5px; background: gray; margin-top: auto; "></div>
</div>
<div id="frame-grip-width" class = "bottom" style=""></div>
</div>
</body>
</html>