diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-11-29 12:06:22 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-11-29 12:06:32 -0500 |
commit | a5d50da591fdf329f05cb38fb169627018093528 (patch) | |
tree | 65231ea02ca69ac91b29470283bdc053d950b356 /demos/progressbar/indeterminate.html | |
parent | 24d9141597f16fdc84b1412683a7e66388f5f622 (diff) | |
download | jquery-ui-a5d50da591fdf329f05cb38fb169627018093528.tar.gz jquery-ui-a5d50da591fdf329f05cb38fb169627018093528.zip |
Progressbar demos: Cleanup.
Diffstat (limited to 'demos/progressbar/indeterminate.html')
-rw-r--r-- | demos/progressbar/indeterminate.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/demos/progressbar/indeterminate.html b/demos/progressbar/indeterminate.html index 34ce6da47..b07211496 100644 --- a/demos/progressbar/indeterminate.html +++ b/demos/progressbar/indeterminate.html @@ -16,27 +16,27 @@ }); $( "button" ).on( "click", function( event ) { var target = $( event.target ), - pbar = $( "#progressbar" ), - pbarValue = pbar.find( ".ui-progressbar-value" ); + progressbar = $( "#progressbar" ), + progressbarValue = progressbar.find( ".ui-progressbar-value" ); if ( target.is( "#numButton" ) ) { - pbar.progressbar( "option", { + progressbar.progressbar( "option", { value: Math.floor( Math.random() * 100 ) }); } else if ( target.is( "#colorButton" ) ) { - pbarValue.css({ + progressbarValue.css({ "background": '#' + Math.floor( Math.random() * 16777215 ).toString( 16 ) }); } else if ( target.is( "#falseButton" ) ) { - pbar.progressbar( "option", "value", false ); + progressbar.progressbar( "option", "value", false ); } }); }); </script> <style> - #progressbar .ui-progressbar-value { - background-color: #CCCCCC; - } + #progressbar .ui-progressbar-value { + background-color: #ccc; + } </style> </head> <body> |