-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery_ui_slide.html
More file actions
38 lines (38 loc) · 1.15 KB
/
jquery_ui_slide.html
File metadata and controls
38 lines (38 loc) · 1.15 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
<html>
<head>
<title>jQuery UI - Slide</title>
<style>
body {
background-image: url('images/space.gif');
repeat: no-repeat;
}
div {
height: 100px;
width: 100px;
border-radius: 100%;
background-color: #008800;
background-image: -webkit-gradient(linear,
0% 0%,
0% 100%,
from(#003500),
to(#008800));
background-image: -webkit-linear-gradient(left, #003500, #008800);
background-image: -moz-linear-gradient(left, #003500, #008800);
background-image: -ms-linear-gradient(left, #003500, #008800);
background-image: -o-linear-gradient(left, #003500, #008800);
}
</style>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script>
$(document).ready(function() {
$('div').click(function() {
$(this).effect('slide');
});
});
</script>
</head>
<body>
<div></div>
</body>
</html>