Skip to content
Permalink
Browse files

Progressbar - Added suport for animated equations (easeInOutQuint, ...)

  • Loading branch information...
eduardolundgren committed Sep 20, 2008
1 parent 2f842ce commit 99f8a711decebc577f3abe213cd1c8d8f0a0a364
Showing with 8 additions and 3 deletions.
  1. +7 −2 tests/visual/progressbar.html
  2. +1 −1 ui/ui.progressbar.js
@@ -10,6 +10,7 @@
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
<script type="text/javascript" src="../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../ui/ui.progressbar.js"></script>
<script type="text/javascript" src="../../ui/effects.core.js"></script>

<style type="text/css" media="all">
@@ -169,11 +170,13 @@ <h1>jQuery - ProgressBar</h1>
//align: 'right',
equation: 'easeOutBounce',
width: 500,
duration: 1000,
duration: 3000,
interval: 1000,
interval: 800,
increment: 1,
@@ -213,6 +216,8 @@ <h1>jQuery - ProgressBar</h1>
duration: 5000,
equation: 'easeInOutQuint',
interval: 2000,
increment: 50,
@@ -130,7 +130,7 @@ $.widget("ui.progressbar", {
},
{
duration: interval,
easing: this.identifier,
easing: options.equation || this.identifier,
step: function(step, b) {
self.progress((step/options.width)*100);
var timestamp = new Date().getTime(), elapsedTime = (timestamp - b.startTime);

0 comments on commit 99f8a71

Please sign in to comment.
You can’t perform that action at this time.