source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/demos/datepicker/animation.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: 2.3 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Datepicker - Animations</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.effects.core.js"></script>
10 <script type="text/javascript" src="../../ui/jquery.ui.effects.blind.js"></script>
11 <script type="text/javascript" src="../../ui/jquery.ui.effects.bounce.js"></script>
12 <script type="text/javascript" src="../../ui/jquery.ui.effects.clip.js"></script>
13 <script type="text/javascript" src="../../ui/jquery.ui.effects.drop.js"></script>
14 <script type="text/javascript" src="../../ui/jquery.ui.effects.fold.js"></script>
15 <script type="text/javascript" src="../../ui/jquery.ui.effects.slide.js"></script>
16 <script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
17 <link type="text/css" href="../demos.css" rel="stylesheet" />
18 <script type="text/javascript">
19 $(function() {
20 $("#datepicker").datepicker();
21 $("#anim").change(function() { $('#datepicker').datepicker('option', {showAnim: $(this).val()}); });
22 });
23 </script>
24</head>
25<body>
26
27<div class="demo">
28
29<p>Date: <input type="text" id="datepicker" size="30"/></p>
30
31<p>Animations:<br />
32 <select id="anim">
33 <option value="show">Show (default)</option>
34 <option value="slideDown">Slide down</option>
35 <option value="fadeIn">Fade in</option>
36 <!-- <option value="blind">Blind (UI Effect)</option>
37 <option value="bounce">Bounce (UI Effect)</option>
38 <option value="clip">Clip (UI Effect)</option>
39 <option value="drop">Drop (UI Effect)</option>
40 <option value="fold">Fold (UI Effect)</option>
41 <option value="slide">Slide (UI Effect)</option> -->
42 <option value="">None</option>
43 </select>
44</p>
45
46</div><!-- End demo -->
47
48<div class="demo-description">
49
50<p>Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.</p>
51
52</div><!-- End demo-description -->
53
54</body>
55</html>
Note: See TracBrowser for help on using the repository browser.