jquery-ui/demos/calendar/show-week.html

36 lines
1.1 KiB
HTML
Raw Normal View History

2012-09-10 15:33:46 +00:00
<!doctype html>
<html lang="en">
<head>
2010-09-10 12:50:53 +00:00
<meta charset="utf-8">
<title>jQuery UI Calendar - Show week of the year</title>
<link rel="stylesheet" href="../../themes/base/all.css">
<script src="../../external/jquery/jquery.js"></script>
<script src="../../external/globalize/globalize.js"></script>
<script src="../../external/date.js"></script>
<script src="../../external/localization.js"></script>
<script src="../../ui/core.js"></script>
<script src="../../ui/widget.js"></script>
<script src="../../ui/button.js"></script>
<script src="../../ui/calendar.js"></script>
<script src="../../ui/position.js"></script>
2010-09-10 12:50:53 +00:00
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
$( "#calendar" ).calendar({
2013-11-30 12:22:17 +00:00
showWeek: true
2010-09-10 12:50:53 +00:00
});
});
</script>
</head>
<body>
<div id="calendar"></div>
2010-09-10 12:50:53 +00:00
<div class="demo-description">
<p>The calendar can show the week of the year. The calculation follows
2014-04-23 15:49:03 +00:00
<a href="http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table">Unicode CLDR specification</a>.
2013-11-30 12:22:17 +00:00
This means that some days from one year may be placed into weeks 'belonging' to another year.</p>
2012-09-10 15:33:46 +00:00
</div>
</body>
</html>