>
font> b> v: textbox>
v: RoundRect>
div>
// Original: Feng Yun Dance, contained from:
http://www.lshdic.com/bbs
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>
转载请注明原文地址:https://www.9cbs.com/read-24539.html