不好意思图片上传不了.
就是本页面的上面的"用户控制面板"当鼠标放在上面显示的选择项.
[此贴子已经被作者于2007-1-17 12:59:42编辑过]
[CODE]<SCRIPT language=JavaScript>
function MM_findObj(n, d) { //v4.0
var p,i,x;if(!d) d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }}
//showhidelayer
function mOvr(src, cOvr)
{if (!src.contains(event.fromElement)) {src.style.cursor = "default";src.bgColor = cOvr;}}
function mOut(src, cOut)
{if (!src.contains(event.toElement)) {src.style.cursor = "default";src.bgColor = cOut;}}
//changetdcolor
</SCRIPT>
<TABLE border=1 cellPadding=1 cellSpacing=1 width="50">
<TBODY>
<TR align=middle class=dmenu>
<TD>
<DIV id=menu01 style="POSITION: absolute">
<DIV id=sub onmouseout="MM_showHideLayers('sub','','hide')"
onmouseover="MM_showHideLayers('sub','','show')"
style="HEIGHT: 30px; LEFT: -7px; POSITION: absolute; TOP: 12px; VISIBILITY: hidden; WIDTH: 90px; Z-INDEX: 11">
<TABLE bgColor=#3c8830 border=0 cellPadding=1 cellSpacing=1
width=100>
<TBODY>
<TR bgColor=#a5db97>
<TD align=right>
<TABLE border=0 cellPadding=4 cellSpacing=1 class=46C92F
width=100>
<TBODY>
<TR bgColor=#fafef4>
<TD><A class=pt03
href="http://bbs.bc-cn.net/index.asp">編程論壇</A></TD></TR>
<TR><TD><A class=pt03
href="http://www.baidu.com">baidu</A></TD></TR>
</TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></DIV><A
class=menu href=""
onmouseout="MM_showHideLayers
('yycq','','hide','logo','','hide','ring','','hide','sub','','hide','mo','','hide','brand','','hide','feature','','hide','pro
duct','','hide','help','','hide')"
onmouseover="MM_showHideLayers
('yycq','','hide','logo','','hide','ring','','hide','sub','','show','mo','','hide','brand','','hide','feature','','hide','pro
duct','','hide','help','','hide')">測試</A>
</TD>
</TR></TBODY></TABLE>[/CODE]