-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjqueryui1.html
More file actions
42 lines (38 loc) · 1.03 KB
/
jqueryui1.html
File metadata and controls
42 lines (38 loc) · 1.03 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
39
40
41
42
<html>
<head>
<link rel="stylesheet" href="jquery-ui/jquery-ui.css">
<link rel="stylesheet" href="jquery-ui/jquery-ui.structure.css">
<link rel="stylesheet" href="jquery-ui/jquery-ui.theme.css">
<style>
.dateinput{
color:black;
}
#mydiv input{
width:50%;
}
</style>
</head>
<body>
<div id="mydiv">
<h3>introduction to jQuery UI</h3>
<input id="dateinput" type="text" placeholder="click here to select the date" />
<img src="city.jpg" width="300px" height="300px" title="city">
</div>
</body>
<script src="jquery.js" type="text/javascript"></script>
<script src="jquery-ui/jquery-ui.js" type="text/javascript"></script>
<script>
$("#dateinput").datepicker({
numberOfMonths:1,changeYear:true,changeMonth:true,showDay:true,minDate: new Date (2017,0,1),maxDate: new Date (2020,0,1)
});
$("img").tooltip({
track:true,
content:'hello',
show:{effect:"blind",duration:3000},
hide:{effect:"explode",duration:3000}
//show:{effect:"highlight",duration:10000}
//show:{effect:"pulsate",duration:10000}
//show:{effect:"bounce",duration:10000}
});
</script>
</html>