<! xmlns = "http://www.w3.org/1999/xhtml"> <head> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <title> 无标题文档 </title> </script src src = jQ = jQu.8 "jQu.8; type = "text/javascript"> </script> <script type = "text/javascript"> $ (function () {interid = setInterval (showgao, 1); var i = 1; $ ('#top'). ('#buttom'). ITC (i). ('#buttom1'). CSS ('fundo', 'vermelho'); $ ('#buttom1'). altura (i1); i1 ++; if (i1 == 30) {clearInterval (interid1);}}}); </script> <body> <yyled> .Container {width: 20px; altura: 50px; borda: 1px Solid #999; Font-Size: 10px: Float: esquerda; margin-lEFT: 5px; > <div id = "top"> 82%</div> <div id = "buttom"> </div> </div> <div onclick = "javascript: alert (1);" > <div id = "top1"> 62%</div> <div id = "buttom1"> </div> </div> </body> </html>