source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/demos/datepicker/show-week.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Datepicker - Show week of the year</title>
5 <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6 <script type="text/javascript" src="../../jquery-1.4.1.js"></script>
7 <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
8 <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
9 <script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
10 <link type="text/css" href="../demos.css" rel="stylesheet" />
11 <script type="text/javascript">
12 $(function() {
13 $("#datepicker").datepicker({showWeek: true, firstDay: 1});
14 });
15 </script>
16</head>
17<body>
18
19<div class="demo">
20
21<p>Date: <input type="text" id="datepicker"></p>
22
23</div><!-- End demo -->
24
25<div class="demo-description">
26
27<p>The datepicker can show the week of the year. The default calculation follows
28 the ISO 8601 definition: the week starts on Monday, the first week of the year
29 contains the first Thursday of the year. This means that some days from one
30 year may be placed into weeks 'belonging' to another year.</p>
31
32</div><!-- End demo-description -->
33
34</body>
35</html>
Note: See TracBrowser for help on using the repository browser.