v: RoundRect>
div>
// Original: Feng Yun Dance, from: [URL] http://www.lshdic.com/bbs [/ url]
VAR POS1 = 1, posall = 200 // Define global variables, POS1 is current progress, posall is the total progress
Function Play1 () {// Play function
IF (POS1 A.Style.Width = Math.Round (300 / (posALL / POS1)); jindu.innerText = POS1 "/" posall "," Math.Round (100 / (posall / pos1)) "%" Fill1.angle = Math.Round (300 / (posALL / POS1)) } SetInterval ("Play1 ()", 10) // 10 milliseconds play once, general CPU guarantees can digest ~~~ script> Body> Html>