diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-12-21 19:59:59 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-12-21 19:59:59 +0100 |
commit | 9453269684b8d17411d8bbc4ecd0c7958670ff42 (patch) | |
tree | c44940bb96b054f46d0db279a548de3e278c6e8d /module/web/media | |
parent | reverted files, pyload.db fix (diff) | |
download | pyload-9453269684b8d17411d8bbc4ecd0c7958670ff42.tar.xz |
log view, progressbar test
Diffstat (limited to 'module/web/media')
-rw-r--r-- | module/web/media/js/jquery.progressbar.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/web/media/js/jquery.progressbar.js b/module/web/media/js/jquery.progressbar.js index 93a12d59a..7ddf4a558 100644 --- a/module/web/media/js/jquery.progressbar.js +++ b/module/web/media/js/jquery.progressbar.js @@ -18,22 +18,22 @@ USAGE: progressBar: new function() {
this.defaults = {
- steps : 1, // steps taken to reach target
- step_duration : 1,
+ steps : 20, // steps taken to reach target
+ step_duration : 20,
max : 100, // Upon 100% i'd assume, but configurable
showText : true, // show text with percentage in next to the progressbar? - default : true
textFormat : 'percentage', // Or otherwise, set to 'fraction'
- width : '100%', // Width of the progressbar - don't forget to adjust your image too!!! // Image to use in the progressbar. Can be a single image too: 'images/progressbg_green.gif'
+ width : 1000, // Width of the progressbar - don't forget to adjust your image too!!! // Image to use in the progressbar. Can be a single image too: 'images/progressbg_green.gif'
height : 12, // Height of the progressbar - don't forget to adjust your image too!!!
callback : null, // Calls back with the config object that has the current percentage, target percentage, current image, etc
- /*boxImage : '/media/img/progressbar.gif', // boxImage : image around the progress bar
+ boxImage : '/media/img/progressbar.gif', // boxImage : image around the progress bar
barImage : {
0: '/media/img/progressbg_red.gif',
30: '/media/img/progressbg_orange.gif',
70: '/media/img/progressbg_green.gif'
},
- */
+
// Internal use
running_value : 0,
value : 0,
|