编程教程
你的位置: 中国个人站长站 -- 网络编程 -- ASP教程 -- 教程正文 VML应用
推荐位

VML应用

中国个人站长站 ASP教程 点击数: 更新时间:2007-8-26 15:49:19
";poly1=null;
};wenzi1.style.display=''none'';tupian1.style.display=''none'';gaoji1.style.display=''none'';menu1.style.display=''none''
}}
function forerr(){
if(moveobj!=null&&bi==1){moveobj.style.left=xx-ckleft;moveobj.style.top=yy-cktop;ckleft=0;cktop=0;moveobj=null}
if(moveobj!=null&&bi==2){
if(moveobj.tagName!="line"){moveobj.style.left=ckleft;moveobj.style.top=cktop;moveobj.style.width=ckwid;moveobj.style.height=ckhei;}else{moveobj.to=ckto;}
ckleft=0;cktop=0;ckwid=0;ckhei=0;ckto="";moveobj=null
}
line1.style.display=''none'';oval1.style.display=''none'';rect1.style.display=''none'';roundrect1.style.display=''none''
}
function charuwenzi(){ //插入文字
if(txt1.value=="")return alert(''请先输入文字,在点击插入'')
var newtxt=document.createElement("<span style=''position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";color:"+color1+";''></span>");newtxt.innerText=txt1.value
div1.appendChild(newtxt);wenzi1.style.display=''none''
}
function charutupian(){ //插入图片
if(file1.value=="")return alert(''请先输入图片路径(HTTP://或FILE:///)格式,在点击插入'')
if(file1.value.indexOf("''")>-1)return alert("图片地址不可以含有违禁字符 '' 单引号")
var newtxt=document.createElement("<v:Image style=''position:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";width:100;height:100'' src=''"+file1.value+"''/>");
div1.appendChild(newtxt);tupian1.style.display=''none''
}
</script>

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 

教程录入:swh    责任编辑:swh 
个人站长站与你风雨同舟!
本站所提供的资源均来源于互联网,如有侵权行为,请与本站管理员联系,我们会第一时间删除!
·如果您发现《VML应用》文章有错误,也请通知我们修改!
联系邮箱chinageren#126.com,谢谢支持!
站内搜索:
广告服务 | 友情链接 | 联系我们 | 免责声明 | 用户留言 | 网站导航
版权所有:中国个人站长站 2007-2008 未经授权禁止复制或建立镜像 客服QQ号:112731235
copyright © 2007-2008 www.ChinaGeRen.com online services. all rights reserved. 苏ICP备05000059号