-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (31 loc) · 1.64 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Date(Time)Input demo</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="jquery/ui/css/smoothness/jquery-ui-1.7.2.custom.css" />
<link rel="stylesheet" type="text/css" href="datetimewidget.css" />
<script type="text/javascript" src="jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="jquery/jquery.mousewheel.js"></script>
<script type="text/javascript" src="jquery/ui/ui.core.js"></script>
<script type="text/javascript" src="jquery/ui/ui.datepicker.js"></script>
<script type="text/javascript" src="datetimewidget.js"></script>
</head>
<body>
<h1>DateTime widget</h1>
<div>
<input class="vDateInput" type="text" value="2010-01-14" />
<br />
<input class="vDateTimeInput" type="text" value="2010-01-14 16:20" />
</div>
<p>Focus on input and rotate the mousewheel or press arrow keys to scroll individual fields.</p>
<h2>To use the DateTime widget:</h2>
<ol>
<li>Include <a href="http://docs.jquery.com/Downloading_jQuery#Current_Release">jQuery 1.3.2+</a></li>
<li>Include <a href="http://jqueryui.com/">jQuery UI 1.7+</a> with Datepicker</li>
<li>Include the <a href="datetimewidget.js">datetimewidget.js</a> script</li>
<li>Include the <a href="datetimewidget.css">datetimewidget.css</a> stylesheet</li>
<li>Give the input elements the <code>vDateInput</code> / <code>vDateTimeInput</code> class</li>
</ol>
</body>
</html>