HOME | DD

Published: 2009-05-17 16:47:59 +0000 UTC; Views: 34189; Favourites: 93; Downloads: 3740
Redirect to original
Description
CSS Progress BarThis tutorial will show you how to create a fixed width Vista style progress bar use XHTML/CSS in my way.
*Use CSS Sprites.
*Valid XHTML and CSS.
You can download the source code. I hope you like it.
Related content
Comments: 15
solbi2019 [2020-01-31 13:55:59 +0000 UTC]
π: 0 β©: 0
chrischmitt [2009-12-28 08:12:31 +0000 UTC]
Nice Work, Ashung !
If you don't want it to repeat, modify the Javascript as follow :
--------------------
var i = 0;
function animate() {
if (i <= 100) {
document.getElementById(\"test\").style.width = i + "%";
i++;
setTimeout(animate, 500);
}
}
animate();
--------------
π: 0 β©: 0
SamusAranFreak [2009-06-08 02:28:40 +0000 UTC]
Just a question...
When the animation of the bar is complete, it repeats.
How can I turn off the repeating?
How can I modify the code to make sure the bar remains complete after the animation is over?
π: 0 β©: 1
Ashung In reply to SamusAranFreak [2009-06-13 14:38:17 +0000 UTC]
I'm so sorry. I'm not good at server-side language and JavaScript. This JavaScript just make the bar animation, and it can't working in real work. You can ask your programer friends or Google it.
π: 0 β©: 1
SamusAranFreak In reply to Ashung [2009-06-13 15:52:02 +0000 UTC]
Well, I'll have to google it xD
This is really good for things like redirections
π: 0 β©: 0
1Reticle [2009-05-18 00:20:42 +0000 UTC]
εεοΌε₯½δΉ δΈθ§δ½ ηδ½εδΊγεΎεΌΊε€§οΌε―Ήη½ι‘΅δΈζ―εΎζη η©Άγδ½ζ―εΎε₯½ηε¦γ^_^
π: 0 β©: 0