-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.html
148 lines (143 loc) · 5.23 KB
/
example.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!DOCTYPE html>
<html>
<head>
<title>jquery-tableoverflow example</title>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="jquery-tableoverflow.js"></script>
<script>
$(function () {
$('table').tableoverflow();
});
</script>
</head>
<body>
<h1>200px</h1>
<p><strong><em>Tip:</em></strong> hover the mouse on a cell to see the plugin in action.</p>
<table border="1" style="width:200px">
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
<th>Col 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Small text</td>
<td>Medium sized text</td>
<td>This is an incredibly monstruous large text that no display on the world is capable of rendering completely</td>
<td>This is a super large sized text additional text</td>
<td>This is a large sized text</td>
</tr>
</tbody>
</table>
<h1>400px</h1>
<table border="1" style="width:400px">
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
<th>Col 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Small text</td>
<td>Medium sized text</td>
<td>This is an incredibly monstruous large text that no display on the world is capable of rendering completely</td>
<td>This is a super large sized text additional text</td>
<td>This is a large sized text</td>
</tr>
</tbody>
</table>
<h1>800px</h1>
<table border="1" style="width:800px">
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
<th>Col 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Small text</td>
<td>Medium sized text</td>
<td>This is an incredibly monstruous large text that no display on the world is capable of rendering completely</td>
<td>This is a super large sized text additional text</td>
<td>This is a large sized text</td>
</tr>
</tbody>
</table>
<h1>900px</h1>
<table border="1" style="width:900px">
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
<th>Col 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Small text</td>
<td>Medium sized text</td>
<td>This is an incredibly monstruous large text that no display on the world is capable of rendering completely</td>
<td>This is a super large sized text additional text</td>
<td>This is a large sized text</td>
</tr>
</tbody>
</table>
<h1>1000px</h1>
<table border="1" style="width:1000px">
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
<th>Col 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Small text</td>
<td>Medium sized text</td>
<td>This is an incredibly monstruous large text that no display on the world is capable of rendering completely</td>
<td>This is a super large sized text additional text</td>
<td>This is a large sized text</td>
</tr>
</tbody>
</table>
<h1>100%</h1>
<p><strong><em>Tip:</em></strong> resize the browser window to see the plugin in action.</p>
<table border="1" style="width:100%">
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
<th>Col 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Small text</td>
<td>Medium sized text</td>
<td>This is an incredibly monstruous large text that no display on the world is capable of rendering completely</td>
<td>This is a super large sized text additional text</td>
<td>This is a large sized text</td>
</tr>
</tbody>
</table>
</body>
</html>