Ticket #3535: index.htm

File index.htm, 1.5 KB (added by jzu, 12 years ago)

My Example html

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5<script type="text/javascript" src="js/jquery.js"></script>
6<script type="text/javascript" src="js/jquery.dimensions.js"></script>
7<script type="text/javascript" src="js/jquery.ui.all.js"></script>
8<title>Untitled Document</title>
9</head>
10
11<body>
12
13
14<style>
15        #xxx{
16                width:200px;
17                height:200px;
18                background-color:green;
19        }
20</style>
21
22
23
24<script language="JavaScript">
25<!--
26        $(function(){
27                $("#xxx").draggable({
28                        cursor:"move",
29                        cursorAt:{
30                                top:2,
31                                left:2
32                        },
33                        opacity:0.7,
34                        revertDuration:500,
35                        scroll:true,
36                        containment:"parent"
37                });
38        });
39//-->
40</script>
41
42
43
44<div style="width:700px;height:500px;border:1px solid red;overflow:scroll;">
45
46
47        <div id="xxx">asdf
48        </div>
49
50
51
52
53<br>
54asdfasdf
55<br>
56asdfasdf
57<br>
58asdfasdf
59<br>
60asdfasdf
61<br>
62asdfasdf
63<br>
64asdfasdf
65<br>
66asdfasdf
67<br>
68asdfasdf
69<br>
70asdfasdf
71<br>
72asdfasdf
73<br>
74asdfasdf
75<br>
76asdfasdf
77<br>
78asdfasdf
79<br>
80asdfasdf
81<br>
82asdfasdf
83<br>
84asdfasdf
85<br>
86asdfasdf
87<br>
88asdfasdasdfasdf
89<br>
90asdfasdf
91<br>
92asdfasdf
93<br>
94asdfasdf
95<br>
96asdfasdf
97<br>
98asdfasdf
99<br>
100asdfasdf
101<br>
102asdfasdf
103<br>
104asdfasdf
105<br>
106asdfasdf
107<br>
108asdfasdf
109<br>
110asdfasdf
111<br>
112asdfasdf
113<br>
114asdfasdf
115<br>
116asdfasdf
117
118
119
120
121
122</div>
123
124
125
126
127
128
129
130
131
132
133
134
135</body>
136</html>
137