forked from lucianocosta/jquery.mtz.monthpicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·48 lines (43 loc) · 1.58 KB
/
index.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
<!DOCTYPE html>
<!--
The source code of this widget lives updated at: https://github.com/lucianocosta/jquery.mtz.monthpicker
Happy coding!
-->
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='chrome=1'>
<meta name='description' content='Monthpicker, the missing JQuery widget. It allows you to pick up only month and year, without any ugly hack on Datepicker.' />
<meta name='keywords' content='jquery, ui, monthpicker, year-month, monttez, plugin' />
<meta name='author' content='Luciano Costa - http://github.com/lucianocosta/jquery.mtz.monthpicker' />
<title>Monthpicker, the missing JQueryUI widget.</title>
<link rel='stylesheet' href='http://jqueryui.com/themes/base/jquery.ui.all.css'>
</head>
<body>
<h2>mtz-monthpicker</h2>
<hr />
<br />
Date #1: <input type='text' class='monthpicker'>
<br />
<br />
<br />
Date #2: <input type='text' class='monthpicker'>
<br />
<br />
<hr />
<a href='http://github.com/lucianocosta/jquery.mtz.monthpicker'>http://github.com/lucianocosta/jquery.mtz.monthpicker</a>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js'></script>
<script src='./jquery.mtz.monthpicker.js'></script>
<script>
$(function() {
$('.monthpicker').monthpicker({
'monthNames' : ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
showOn: "both",
buttonImage: "images/calendar.png",
buttonImageOnly: true
})
})
</script>
</body>
</html>