1
<script type="text/javascript">
5
renderAt: '#containerDemo',
7
title: 'Progressbar Demos',
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");',
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");' }
b'\\ No newline at end of file'