dwProgressBar - Animated MooTools Progress Bars
July 7th, 2008 in Javascript | Tags: MooTools | No ResponsesA customizable MooTools progress bar class that animates to the desired percentage. All you need to do is create an instance of the dwProgressBar and pass your desired options.
The class accepts the following options:
- container: element that the entire progress bar gets placed in
- boxID: the IDof the progress bar’s containing DIV
- percentageID: the ID of the progress bar’s animated/sliding DIV
- displayID: the ID of the progress bar’s “{x} %” text DIV
- startPercentage: the percentage at which you’d like the progress bar to start at (defaults to 0)
- displayText: Boolean. Do you want the progress bar to show the percentage in text format too?
- speed: speed of the animation to the given percentage
|
Subscribe to RSSJuly 7th, 2008 in Javascript | Tags: MooTools | Trackback

Loading...




















