-
Notifications
You must be signed in to change notification settings - Fork 8
/
test-ui.html
74 lines (62 loc) · 1.54 KB
/
test-ui.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>HoverScroll Test Page</title>
<link href="css/smoothness/jquery-ui-1.8.9.css" type="text/css" rel="stylesheet" />
<link href="css/hoverscroll/jquery.hoverscroll.css" type="text/css" rel="stylesheet" />
<style type="text/css">
.hoverscroll li {
width: 67px;
height: 50px;
border: #000 solid 1px;
}
.hoverscroll {
/*background: transparent;*/
border: #000 solid 1px;
float: left;
margin: 0 20px 0 0;
}
</style>
<script type="text/javascript" src="js/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui-1.8.9.min.js"></script>
<script type="text/javascript" src="js/hoverscroll/jquery-ui.hoverscroll.js"></script>
<script type="text/javascript">
$(function() {
$('#my-list').hoverscroll({
width: 400,
height: 50,
debug: true,
create: function() {
console.log("w00t i'm created");
}
}).hoverscroll('start', 1);
});
</script>
</head>
<body>
<h1>HoverScroll Test Page</h1>
<ul id="my-list">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
<li>11</li>
<li>12</li>
<li>13</li>
<li>14</li>
<li>15</li>
<li>16</li>
<li>17</li>
<li>18</li>
<li>19</li>
<li>20</li>
</ul>
</body>
</html>