Added description of keyboard equivalents

This commit is contained in:
Keith Wood 2009-01-09 08:30:36 +00:00
parent c81e63f517
commit 684353e036

View File

@ -24,6 +24,17 @@
<div class="demo-description">
<p>This is a default datepicker which is tied to a standard form input. The calendar opens in a small overlay onFocus and closes automatically onBlur if a date if selected.</p>
<p>You can also use the keyboard to drive the datepicker:</p>
<ul>
<li>page up/down - previous/next month</li>
<li>ctrl+page up/down - previous/next year</li>
<li>ctrl+home - current month or open when closed</li>
<li>ctrl+left/right - previous/next day</li>
<li>ctrl+up/down - previous/next week</li>
<li>enter - accept the selected date</li>
<li>ctrl+end - close and erase the date</li>
<li>escape - close the datepicker without selection</li>
</ul>
</div><!-- End demo-description -->