~jstys-z/helioviewer.org/timeline

« back to all changes in this revision

Viewing changes to lib/jquery/jquery.ui-1.6rc2/demos/functional/templates/ui.progressbar.html

  • Committer: V. Keith Hughitt
  • Date: 2009-03-26 19:20:57 UTC
  • Revision ID: hughitt1@kore-20090326192057-u0x8rf8sf5lmmnwh
nightly build 03-26-2009: Using alpha-channel JPEG 2000 dataset

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<script type="text/javascript">
2
 
 
3
 
        var model = {
4
 
                
5
 
                renderAt: '#containerDemo',
6
 
 
7
 
                title: 'Progressbar Demos',
8
 
                
9
 
                demos: [
10
 
 
11
 
                        {
12
 
                                title: 'Simple Progressbar',
13
 
                                desc: 'With few lines of code you could build a progressbar. You can try more options on the fly!',
14
 
                                html: '<div id="progressbar"></div>',
15
 
                                destroy: '$("#progressbar").progressbar("destroy");',
16
 
                                options: [
17
 
                                        { desc: 'Start a progressbar', source: '$("#progressbar").progressbar({interval:2000}); $("#progressbar").progressbar("start");' },
18
 
                                        { desc: 'With different increment', source: '$("#progressbar").progressbar({interval:2000, increment:100}).progressbar("start");' },
19
 
                                        { desc: 'Set progress to 50%', source: '$("#progressbar").progressbar().progressbar("progress", 50);' },
20
 
                                        { desc: 'Callback when finish', source: '$("#progressbar").progressbar({interval: 1000, stop:function(){alert("Finished");}}).progressbar("start");' },
21
 
                                        { desc: 'Enable the progressbar', source: '$("#progressbar").progressbar().progressbar("enable");' },
22
 
                                        { desc: 'Disable the progressbar', source: '$("#progressbar").progressbar().progressbar("disable");' }
23
 
                                ]
24
 
                        }
25
 
 
26
 
                ]
27
 
        };
28
 
 
29
 
        $(function(){
30
 
 
31
 
                uiRenderDemo(model);
32
 
 
33
 
        });
34
 
 
35
 
</script>
 
 
b'\\ No newline at end of file'