<html xmlns:v=”urn:schemas-microsoft-com:vml”>
<style>
<!–
v/:* {behavior:url(#default#VML);}
–>
</style>
<body onmousemove=’with(document.all.test.style){width=event.x;height=event.y;}’>
<v:oval id=test style=”width: 100; height: 100″>
<v:stroke weight=”1px” color=”navy”/>
</v:oval>
<style>
<!–
v/:* {behavior:url(#default#VML);}
–>
</style>
<body onmousemove=’with(document.all.test.style){width=event.x;height=event.y;}’>
<v:oval id=test style=”width: 100; height: 100″>
<v:stroke weight=”1px” color=”navy”/>
</v:oval>
欢迎大家阅读《js+Vml:一个动态改变大小的圆形_js》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码