我要实现在js里控制v:RoundRect...
如在js里实现:
1.创建一个v:RoundRect;
2.设置它的填充颜色;
3.设置边线的颜色和厚度
4.角的弧度
5.设置其TextBox

解决方案 »

  1.   

    <script>
    function roundRectChange()        //修改你的roundRect
    {
    var rr=document.getElementById("roundR");  //在html里把你的roundRect的id设为"ruondR"或其它名字
    rr.style.cssText="position:relative;width:150;height:240px;color:#000911; filter:Alpha(opacity=100,style=0);color:red;";
    rr.style.backgroundColor="green";
    rr.fillcolor="blue";
    rr.stroked="true";
    rr.strokecolor="red";
    rr.strokeweight="5px";rr.shadow.on="true";
    rr.shadow.type="single";
    rr.shadow.color="black";
    rr.shadow.offset="20px,50px";
    }
    </script>
      

  2.   

    http://old.family168.com/tutorial/vml/html/vml-ch-01.html这篇文章超好...
      

  3.   

    http://old.family168.com/tutorial/vml/html/vml-ch-01.html这篇文章超好...
      

  4.   

    我只是搜到http://www.jscode.cn/jave_menu/310609732.htm