diff options
Diffstat (limited to 'demos/functional/templates/ui.progressbar.html')
-rw-r--r-- | demos/functional/templates/ui.progressbar.html | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/demos/functional/templates/ui.progressbar.html b/demos/functional/templates/ui.progressbar.html index cb99c33a9..6c33203e6 100644 --- a/demos/functional/templates/ui.progressbar.html +++ b/demos/functional/templates/ui.progressbar.html @@ -1,35 +1,35 @@ -<script type="text/javascript">
-
- var model = {
-
- renderAt: '#containerDemo',
-
- title: 'Progressbar Demos',
-
- demos: [
-
- {
- title: 'Simple Progressbar',
- desc: 'With few lines of code you could build a progressbar. You can try more options on the fly!',
- html: '<div id="progressbar"></div>',
- destroy: '$("#progressbar").progressbar("destroy");',
- options: [
- { desc: 'Start a progressbar', source: '$("#progressbar").progressbar({interval:2000}); $("#progressbar").progressbar("start");' },
- { desc: 'With different increment', source: '$("#progressbar").progressbar({interval:2000, increment:100}).progressbar("start");' },
- { desc: 'Set progress to 50%', source: '$("#progressbar").progressbar().progressbar("progress", 50);' },
- { desc: 'Callback when finish', source: '$("#progressbar").progressbar({interval: 1000, stop:function(){alert("Finished");}}).progressbar("start");' },
- { desc: 'Enable the progressbar', source: '$("#progressbar").progressbar().progressbar("enable");' },
- { desc: 'Disable the progressbar', source: '$("#progressbar").progressbar().progressbar("disable");' }
- ]
- }
-
- ]
- };
-
- $(function(){
-
- uiRenderDemo(model);
-
- });
-
+<script type="text/javascript"> + + var model = { + + renderAt: '#containerDemo', + + title: 'Progressbar Demos', + + demos: [ + + { + title: 'Simple Progressbar', + desc: 'With few lines of code you could build a progressbar. You can try more options on the fly!', + html: '<div id="progressbar"></div>', + destroy: '$("#progressbar").progressbar("destroy");', + options: [ + { desc: 'Start a progressbar', source: '$("#progressbar").progressbar({interval:2000}); $("#progressbar").progressbar("start");' }, + { desc: 'With different increment', source: '$("#progressbar").progressbar({interval:2000, increment:100}).progressbar("start");' }, + { desc: 'Set progress to 50%', source: '$("#progressbar").progressbar().progressbar("progress", 50);' }, + { desc: 'Callback when finish', source: '$("#progressbar").progressbar({interval: 1000, stop:function(){alert("Finished");}}).progressbar("start");' }, + { desc: 'Enable the progressbar', source: '$("#progressbar").progressbar().progressbar("enable");' }, + { desc: 'Disable the progressbar', source: '$("#progressbar").progressbar().progressbar("disable");' } + ] + } + + ] + }; + + $(function(){ + + uiRenderDemo(model); + + }); + </script>
\ No newline at end of file |