-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.resize.html
93 lines (90 loc) · 1.91 KB
/
test.resize.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 14 February 2006), see www.w3.org" />
<title>
Resizable Test
</title>
<meta http-equiv="Content-Type" content="text/html;" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.ico" />
<script language="JavaScript" type="text/javascript" src="scripts/prototype.js">
</script>
<script language="JavaScript" type="text/javascript" src="scripts/scriptaculous.js">
</script>
<script language="JavaScript" type="text/javascript" src="scripts/phpscheduleit.js">
</script>
<style type="text/css">
/*<![CDATA[*/
@import url(style.css);
/*]]>*/
.res
{
background-color:#eeeeee;
border:solid 1px black;
/*
display:table-cell;
float:left;
*/
position:absolute;
height: 40px;
}
.handle
{
position: absolute;
cursor: e-resize;
background-color: black;
width: 10px;
height: 40px;
display:block;
text-indent: -99999px;
right: 0px;
top: 0px;
}
.res span
{
padding: 0 5px;
margin: 0;
font-size: 9px;
color:#000;
}
</style>
</head>
<body>
<table border="1">
<tr>
<th>
date
</th>
<td>
cols
</td>
<td>
</td>
</tr>
<tr style="height:40px;">
<td></td>
<td width="50">
<div id="res1" class="res">
<span>res 1</span>
<div id="handle1" class="handle"></div>
</div>
</td>
<td width="50">
<div id="res2" class="res" style="left:300px;">res 2</div>
</td>
</table>
<script type="text/javascript">
new Resizable('res1',
{
snap: [51, 50],
constraint: 'horizontal',
minWidth: 50,
maxWidth: 260,
handle: 'handle1'
} );
</script>
</body>
</html>