层问题,散分一百,求助! 显示可以设置:document.getElementById("DIVID").style.zIndex=999999也就是动态设置z-index属性来进行调整顺序。把不显示的zIndex设置的小些 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 css参考http://msdn.microsoft.com/workshop/author/css/css_node_entry.asp <script>function a(o){x=document.getElementsByTagName("DIV")for(i=0;i<x.length;i++)x[i].style.zIndex=1o.style.zIndex=9999}</script><div id=a1 onclick="a(this)" style="position:absolute;left:10;top:10;background-color:red;z-index:1">层层层层层层层11111<p>层层层层层层层11111<p>层层层层层层层11111<p></div><div id=a1 onclick="a(this)" style="position:absolute;left:30;top:30;background-color:blue;z-index:2">层层层层层层层22222<p>层层层层层层层22222<p>层层层层层层层22222<p></div><div id=a1 onclick="a(this)" style="position:absolute;left:50;top:50;background-color:#00FF00;z-index:3">层层层层层层层33333<p>层层层层层层层33333<p>层层层层层层层33333<p></div> 关于js取值的问题select id post不了值。。 使用什么样的架构,放在自己网站的第三方内容最容易及时更新,而且自己可以检测到第三方内容的点击? 从后台取数填充下拉框? RMVB 格式的文件怎么在线播放 js簡單問題 请问我该选择什么样的数据库 有没有用于刷新网页的javascript函数? 请问怎样在JavaScript中控制打印边距以及是否显示页眉页脚? ===[1000分求问:怎样让网页中文字一个接一个“消失”]=== javascript中的==有什么意义 在当前页显示提交的结果 急请教:创建TreeView对象。
function a(o)
{
x=document.getElementsByTagName("DIV")
for(i=0;i<x.length;i++)
x[i].style.zIndex=1
o.style.zIndex=9999
}
</script>
<div id=a1 onclick="a(this)" style="position:absolute;left:10;top:10;background-color:red;z-index:1">层层层层层层层11111<p>层层层层层层层11111<p>层层层层层层层11111<p></div>
<div id=a1 onclick="a(this)" style="position:absolute;left:30;top:30;background-color:blue;z-index:2">层层层层层层层22222<p>层层层层层层层22222<p>层层层层层层层22222<p></div>
<div id=a1 onclick="a(this)" style="position:absolute;left:50;top:50;background-color:#00FF00;z-index:3">层层层层层层层33333<p>层层层层层层层33333<p>层层层层层层层33333<p></div>