<!Doctype HTML公共“ - // W3C // DTD XHTML 1.0 Transitional // en”“” http://www.w.org/tr/xhtml1/dtd/xhtml1/xhtml1-xhtml1-transitional.dtddddd"> <httml xmlns =“ http://www.w3.org/1999/xhtml”> <head> <head> <meta http-equiv =“ content-type” content =“ content =” text/html; charset = utf-8“/> utf-8”/> <titter> <tittor> </> <title> </> </> </> </> </> type =“ text/javaScript”> </script> <script type =“ text/javascript”> $(function(){interid = setInterval(shetgao,1); var i = 1; $(#top')。高度('#top')。height(8); $('#buttom')。 $('#buttom')。css('背景','#d6d6d6') $('#buttom'。 $('#buttom1')。css('背景','red'); $('#buttom1')。高度(i1); i1 ++; if(i1==30){clearInterval(interid1);} }});</script><body><style> .container{width:20px;height:50px;border:1px solid #999;font-size:10px;float:left;margin-left:5px;}</style><div onclick="javascript:alert(1);" > <div ID =“ top”> 82%</div> <div ID =“ buttom”> </div> </div> </div otClick =“ javascript:arter(1);” > <div ID =“ top1”> 62%</div> <div ID =“ buttom1”> </div> </div> </div> </hody> </html>