~keith-hughitt/helioviewer.org/2.0

« back to all changes in this revision

Viewing changes to lib/jquery.ui-1.7.1/development-bundle/demos/progressbar/resize.html

  • Committer: Keith Hughitt
  • Date: 2010-03-24 11:14:04 UTC
  • Revision ID: hughitt1@io-20100324111404-tjat3xqy09nqvwik
Helioviewer.orgĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!doctype html>
 
2
<html lang="en">
 
3
<head>
 
4
        <title>jQuery UI Progressbar - Resizable</title>
 
5
        <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
 
6
        <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
 
7
        <script type="text/javascript" src="../../ui/ui.core.js"></script>
 
8
        <script type="text/javascript" src="../../ui/ui.progressbar.js"></script>
 
9
        <script type="text/javascript" src="../../ui/ui.resizable.js"></script>
 
10
        <link type="text/css" href="../demos.css" rel="stylesheet" />
 
11
        <script type="text/javascript">
 
12
        $(function() {
 
13
                $("#progressbar").progressbar({
 
14
                        value: 37
 
15
                });
 
16
                $("#progressbarWrapper").resizable();
 
17
        });
 
18
        </script>
 
19
</head>
 
20
<body>
 
21
 
 
22
<div class="demo">
 
23
 
 
24
        <div id="progressbarWrapper" style="height:30px; " class="ui-widget-default">
 
25
                <div id="progressbar" style="height:100%;"></div>
 
26
        </div>
 
27
 
 
28
</div><!-- End demo -->
 
29
 
 
30
<div class="demo-description">
 
31
 
 
32
<p>The progress bar's widths are specified in percentages for flexible sizing so it will resize to fit its container. Try resizing the height and width of this bar to see how it maintains the correct proportions. (This is not necessarily a real-world example, but it's a good illustration of how flexibly all the plugins are coded.)</p>
 
33
 
 
34
</div><!-- End demo-description -->
 
35
 
 
36
</body>
 
37
</html>