core-resource-app-test
Version:
App that contains assets and scripts for the core apps
41 lines (39 loc) • 2.08 kB
HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>jQuery Calendars Datepicker</title>
<link rel="stylesheet" type="text/css" href="jquery.calendars.picker.css">
<!-- OR for ThemeRoller styling
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/south-street/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="ui-southstreet.datepick.css">
-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="jquery.calendars.js"></script>
<script type="text/javascript" src="jquery.calendars.plus.js"></script>
<script type="text/javascript" src="jquery.calendars.picker.js"></script>
<!--script type="text/javascript" src="jquery.calendars.picker.ext.js"></script--><!-- Include for ThemeRoller styling -->
<script type="text/javascript" src="jquery.calendars.persian.js"></script>
<script type="text/javascript">
$(function() {
// $.calendars.picker.setDefaults({renderer: $.calendars.picker.themeRollerRenderer}); // Requires jquery.calendars.picker.ext.js
$('#popupDatepicker').calendarsPicker({calendar: $.calendars.instance('persian')});
$('#inlineDatepicker').calendarsPicker({calendar: $.calendars.instance('persian'), onSelect: showDate});
});
function showDate(date) {
alert('The date chosen is ' + date);
}
</script>
</head>
<body>
<h1>jQuery Calendars Datepicker</h1>
<p>This page demonstrates the very basics of the
<a href="http://keith-wood.name/calendarsPicker.html">jQuery Calendars Datepicker plugin</a>.
It contains the minimum requirements for using the plugin and
can be used as the basis for your own experimentation.</p>
<p>For more detail see the <a href="http://keith-wood.name/calendarsPickerRef.html">documentation reference</a> page.</p>
<p>A popup datepicker <input type="text" id="popupDatepicker"></p>
<p>Or inline</p>
<div id="inlineDatepicker"></div>
</body>
</html>