~jhullu/pyshot/current

« back to all changes in this revision

Viewing changes to trunk/src/pyshot_server/www/jscripts/jquery-ui-1.8.6.custom/development-bundle/demos/datepicker/animation.html

  • Committer: Jacques HULLU
  • Date: 2010-11-29 22:28:24 UTC
  • Revision ID: jacques@hullu.fr-20101129222824-317nrpjt6vks87dg
fix some bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
 
2
<html lang="en">
 
3
<head>
 
4
        <meta charset="utf-8">
 
5
        <title>jQuery UI Datepicker - Animations</title>
 
6
        <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
 
7
        <script src="../../jquery-1.4.3.js"></script>
 
8
        <script src="../../ui/jquery.ui.core.js"></script>
 
9
        <script src="../../ui/jquery.ui.widget.js"></script>
 
10
        <script src="../../ui/jquery.effects.core.js"></script>
 
11
        <script src="../../ui/jquery.effects.blind.js"></script>
 
12
        <script src="../../ui/jquery.effects.bounce.js"></script>
 
13
        <script src="../../ui/jquery.effects.clip.js"></script>
 
14
        <script src="../../ui/jquery.effects.drop.js"></script>
 
15
        <script src="../../ui/jquery.effects.fold.js"></script>
 
16
        <script src="../../ui/jquery.effects.slide.js"></script>
 
17
        <script src="../../ui/jquery.ui.datepicker.js"></script>
 
18
        <link rel="stylesheet" href="../demos.css">
 
19
        <script>
 
20
        $(function() {
 
21
                $( "#datepicker" ).datepicker();
 
22
                $( "#anim" ).change(function() {
 
23
                        $( "#datepicker" ).datepicker( "option", "showAnim", $( this ).val() );
 
24
                });
 
25
        });
 
26
        </script>
 
27
</head>
 
28
<body>
 
29
 
 
30
<div class="demo">
 
31
 
 
32
<p>Date: <input type="text" id="datepicker" size="30"/></p>
 
33
 
 
34
<p>Animations:<br />
 
35
        <select id="anim">
 
36
                <option value="show">Show (default)</option>
 
37
                <option value="slideDown">Slide down</option>
 
38
                <option value="fadeIn">Fade in</option>
 
39
                <option value="blind">Blind (UI Effect)</option>
 
40
                <option value="bounce">Bounce (UI Effect)</option>
 
41
                <option value="clip">Clip (UI Effect)</option>
 
42
                <option value="drop">Drop (UI Effect)</option>
 
43
                <option value="fold">Fold (UI Effect)</option>
 
44
                <option value="slide">Slide (UI Effect)</option>
 
45
                <option value="">None</option>
 
46
        </select>
 
47
</p>
 
48
 
 
49
</div><!-- End demo -->
 
50
 
 
51
 
 
52
 
 
53
<div class="demo-description">
 
54
<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>
 
55
</div><!-- End demo-description -->
 
56
 
 
57
</body>
 
58
</html>