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

VML应用

中国个人站长站 ASP教程 点击数: 更新时间:2007-8-26 15:49:19
sition:absolute;z-index:"+zz+";left:"+xx+";top:"+yy+";'' to=''"+(event.x-xx)+","+(event.y-yy)+"'' strokecolor=''"+color1+"'' strokeweight=''"+size1+"''/>"))
line1.style.display="none"
break;
case 6: //圆形
div1.appendChild(document.createElement("<v:oval style=''position:absolute;z-index:"+zz+";left:"+oval1.style.left+";top:"+oval1.style.top+";width:"+oval1.style.width+";height:"+oval1.style.height+";'' strokecolor=''"+color1+"'' strokeweight=''"+size1+"'' fillcolor=''"+color2+"''/>"))
oval1.style.display="none"
break;
case 7: //长方形
div1.appendChild(document.createElement("<v:rect style=''position:absolute;z-index:"+zz+";left:"+rect1.style.left+";top:"+rect1.style.top+";width:"+rect1.style.width+";height:"+rect1.style.height+";'' strokecolor=''"+color1+"'' strokeweight=''"+size1+"'' fillcolor=''"+color2+"''/>"))
rect1.style.display="none"
break;
case 8: //圆矩形
div1.appendChild(document.createElement("<v:roundrect style=''position:absolute;z-index:"+zz+";left:"+roundrect1.style.left+";top:"+roundrect1.style.top+";width:"+roundrect1.style.width+";height:"+roundrect1.style.height+";'' strokecolor=''"+color1+"'' strokeweight=''"+size1+"'' fillcolor=''"+color2+"''/>"))
roundrect1.style.display="none"
break;
case 11: //渐变
if(event.srcElement.parentElement.id=="div1"){
if(!usejianbian.checked){event.srcElement.fillcolor=tianchongbeijing.value}else{
temp1=jianbianyangshi[0].checked?''gradient'':''gradientradial''
temp2=event.srcElement.innerHTML.replace(/<v\:fill .*<\/v:fill>/gi,'''')
event.srcElement.innerHTML=temp2+"<v:fill color=''"+jianbianse2.value+"'' color2=''"+jianbianse1.value+"'' type=''"+temp1+"''/>"
}}
break;
case 12: //立体
if(event.srcElement.parentElement.id=="div1"){
temp2=event.srcElement.innerHTML.replace(/<v\:extrusion .*<\/v:extrusion>/gi,'''')
event.srcElement.innerHTML=temp2+"<v:Extrusion on=''t'' color=''"+litiyanse.value+"'' backdepth=''"+houxiangshenzhan.options[houxiangshenzhan.selectedIndex].text+"'' foredepth=''"+qianxiangshenzhan.options[qianxiangshenzhan.selectedIndex].text+"'' rotationangle=''"+pianyishangbian.options[pianyishangbian.selectedIndex].text+","+pianyizuobian.options[pianyizuobian.selectedIndex].text+"''/>"
}
break;
case 13: //边框
if(event.srcElement.parentElem

上一页  [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号