高分求水平下拉菜单!不要被一般的控件挡住的! 阿信!给我一份吧?[email protected] 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以给我个么,谢了先[email protected] 主文件:<BODY text="#000000" bgcolor="#ffffff"><div style="font:14;width:60;color:red;background:black;padding:4" onmouseover="menu1.style.display=''" onmouseout="menu1.style.display='none'"> 菜单 </div><br/><OBJECT id=menu1 style="display:none;z-index:1000; position:absolute; top:40; left:7; width:152; height: 200;" type="text/x-scriptlet" data="caidan.htm" onmouseover="menu1.style.display=''" onmouseout="menu1.style.display='none'"></OBJECT><SELECT name="select"><OPTION >fdsgdsfgdsa</OPTION><OPTION >fdsgdsfgdsa</OPTION><OPTION >fdsgdsfgdsa</OPTION><OPTION >fdsgdsfgdsa</OPTION><OPTION >fdsgdsfgdsa</OPTION></SELECT>文件二:<div style='position:absolute;left:0;top:0;width:152;height:200;font:14;color:white;background:black;border:1 solid black'><div onclick="alert(this.innerText)">我是大笨狼1</div><div onclick="alert(this.innerText)">我是大笨狼2</div><div onclick="alert(this.innerText)">我是大笨狼3</div><div onclick="alert(this.innerText)">我是大笨狼4</div><div onclick="alert(this.innerText)">我是大笨狼5</div><div onclick="alert(this.innerText)">我是大笨狼6</div><div onclick="alert(this.innerText)">我是大笨狼7</div></div> 这个不会被遮挡!演示:http://www.adr.gov.cn/download/panyuguang/download/menu.htm 只有下拉列表框会挡住别人,这是微软的错,为了保证总能显示下拉列表的内容,就把它的层限定为最高,其他对象都在它下面,层也不例外。解决办法有几种:一是用iframe,它会在列表前面;二是显示菜单时隐藏列表,离开菜单再显示列表,微软中国以前就是这样的;三是自己做下拉列表。 up to qiangsheng(代码工人) 关于Extjs中打印的问题 关于js、java中的数组转换问题 有關于getElementById("服務器控件id") 在线急等~~问一个关于图片滚动的问题~ 既能左右滚,又能上下滚动。请高手来看看啊 请问该这么改变这个ID ★★★★★简单的JS变量问题★★★★★ 求问:IE6-8 如何获得拖拽到页面的文件名称(或路径) 如何检测文本框中输入的EMAIL地址的有效性? 各位高手帮帮忙:显示日期问题 href怎么传递js中的变量 动态得到了控件的ID和NAME怎么取得句柄来做进一步的操作?? 如何得到浏览器调整以后的大小?我想让activex控件能随着浏览器自动变大变小
[email protected]
<BODY text="#000000" bgcolor="#ffffff">
<div style="font:14;width:60;color:red;background:black;padding:4"
onmouseover="menu1.style.display=''"
onmouseout="menu1.style.display='none'">
菜单 </div><br/>
<OBJECT
id=menu1
style="display:none;z-index:1000; position:absolute; top:40; left:7; width:152; height: 200;"
type="text/x-scriptlet"
data="caidan.htm"
onmouseover="menu1.style.display=''"
onmouseout="menu1.style.display='none'"></OBJECT>
<SELECT name="select">
<OPTION >fdsgdsfgdsa</OPTION>
<OPTION >fdsgdsfgdsa</OPTION>
<OPTION >fdsgdsfgdsa</OPTION>
<OPTION >fdsgdsfgdsa</OPTION>
<OPTION >fdsgdsfgdsa</OPTION>
</SELECT>
文件二:
<div style='position:absolute;left:0;top:0;width:152;height:200;font:14;color:white;background:black;border:1 solid black'>
<div onclick="alert(this.innerText)">我是大笨狼1</div>
<div onclick="alert(this.innerText)">我是大笨狼2</div>
<div onclick="alert(this.innerText)">我是大笨狼3</div>
<div onclick="alert(this.innerText)">我是大笨狼4</div>
<div onclick="alert(this.innerText)">我是大笨狼5</div>
<div onclick="alert(this.innerText)">我是大笨狼6</div>
<div onclick="alert(this.innerText)">我是大笨狼7</div>
</div>
演示:
http://www.adr.gov.cn/download/panyuguang/download/menu.htm
解决办法有几种:
一是用iframe,它会在列表前面;
二是显示菜单时隐藏列表,离开菜单再显示列表,微软中国以前就是这样的;
三是自己做下拉列表。