请问 如何改变vml中z-index的值 呵呵,我不知道具体是否可行,VML还是比较奇怪的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可行!谢谢 sw47(动感超人,哇哈哈哈哈)和 liuruhong(蓝色街灯) !<HTML xmlns:v><STYLE>v\:*{behavior:url(#default#VML);} //声明变量v为VML对象</STYLE><BODY><form name=form1><v:rect id="myrect" style="Z-INDEX:1;LEFT:163px;WIDTH:198px;POSITION:absolute;TOP:139px;HEIGHT:158px" fillcolor="#007878" strokecolor="#f00103" strokeweight="10pt"></v:rect><v:polyline id="mypolyline" style="Z-INDEX:2;POSITION:absolute;" points="60,0 100,100 100,200 200,200"></v:polyline><input type=button onclick="test()"><SCRIPT LANGUAGE="javaScript">function test(){ var temp temp=document.all.mypolyline.style.zIndex document.all.mypolyline.style.zIndex=document.all.myrect.style.zIndex document.all.myrect.style.zIndex=temp}</SCRIPT> ExtJs中chart图表中能否将数据直接显示在图表上 前台传递中文到后台就乱码 请教树的搜索节点问题 下拉菜单的问题,点子菜单会缩回去,请高手帮忙! Iframe 在嵌入网页的时候,能否只嵌入一部分. Automation 服务器不能创建对象 的提示 ext2 重新设置EditorGridPanel的大小出问题 请教引用js文件的问题。 火狐怎么不响应javascript???????? 如何在JS中判断两个字符串中有相同的字符???急 在线等 非常着急,关于一句正则表达式,请看一下: 如何控制文本框中最多能输入多少个字符(注意中文算两个英文算一个)?
谢谢 sw47(动感超人,哇哈哈哈哈)和 liuruhong(蓝色街灯) !
<HTML xmlns:v>
<STYLE>
v\:*{behavior:url(#default#VML);} //声明变量v为VML对象
</STYLE>
<BODY><form name=form1>
<v:rect id="myrect" style="Z-INDEX:1;LEFT:163px;WIDTH:198px;POSITION:absolute;TOP:139px;HEIGHT:158px" fillcolor="#007878" strokecolor="#f00103" strokeweight="10pt">
</v:rect>
<v:polyline id="mypolyline" style="Z-INDEX:2;POSITION:absolute;" points="60,0 100,100 100,200 200,200">
</v:polyline>
<input type=button onclick="test()">
<SCRIPT LANGUAGE="javaScript">
function test(){
var temp
temp=document.all.mypolyline.style.zIndex
document.all.mypolyline.style.zIndex=document.all.myrect.style.zIndex
document.all.myrect.style.zIndex=temp
}
</SCRIPT>