请问 如何改变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> 怎么用jquery获得表格数据? 讨论:各浏览器对css3的支持 jQuery删除多行的问题,解决问题之后马上结贴。 求动态生成option的js 如何动态改变大文本框(textarea)的大小 怎样将自动生成的表单的值保存在数组里 当页面处于编辑状态,如何指定某个控件不能被删除??? 请问 一个showModalDialog的问题,急. Js控制css的问题。 非常着急,关于一句正则表达式,请看一下: 如何控制文本框中最多能输入多少个字符(注意中文算两个英文算一个)?
谢谢 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>