<html>
<body text="#ffffff">
<!-----------控制层显示的js代码(这种是最简单的了)---------->
<script language=javascript>
ie4=(document.all)?true:false;
ns4=(document.layers)?true:false;
function toExit(){
var args=toExit.arguments;
var visible=args[0];
if(ns4){
theObj=eval("document.layers[\'"+args[1]+"\']");
if(theObj)theObj.visibility=visible;
}
else if(ie4){
if(visible=='show')visible='visible';
if(visible=='hide')visible='hidden';
theObj=eval("document.all[\'"+args[1]+"\']");
if(theObj)theObj.style.visibility=visible;
}
}
</script>
<!--------------------------------这是显示内容层------->
<!甲的资料层>
<div id=boysoft
style="HEIGHT: 128px; LEFT: 120px; POSITION: absolute; TOP: 20px; VISIBILITY: hidden; WIDTH: 83px; Z-INDEX: 1; background-
color: #666666; layer-background-color: #666666; border: 1px none #000000">
<table border="0" width="639" height="128">
<tr>
<td height="22"><font color="#9999FF">姓名:王小丫</font></td>
</tr>
<tr>
<td height="22"><b>年龄:18</b></td>
</tr>
<tr>
<td height="28"><i><font color="#CCCCCC">个人简介:略...</font></i></td>
</tr>
<tr>
<td><font color="#99CCFF">其它:无</font></td>
</tr>
</table>
</div>
<!乙的资料层>
<div id=xiaowang
style="HEIGHT: 128px; LEFT: 122px; POSITION: absolute; TOP: 68px; VISIBILITY: hidden; WIDTH: 83px; Z-INDEX: 1; background-
color: #333333; layer-background-color: #333333; border: 1px none #000000">
<table border="0" width="639" height="128">
<tr>
<td height="22"><font color="#9999FF">姓名:黄小贱</font></td>
</tr>
<tr>
<td height="22"><b>年龄:20</b></td>
</tr>
<tr>
<td height="28"><i><font color="#CCCCCC">个人简介:略...</font></i></td>
</tr>
<tr>
<td><font color="#99CCFF">其它:无</font></td>
</tr>
</table>
</div>
<!----------------------主连接部分----------------->
<!甲的连接>
<a href="#" onMouseOver="javascript:toExit('show','boysoft')" onMouseOut="javascript:toExit('hide','boysoft')"><font
color="#0000FF">[甲]</font></a>
<p>
<p>
<!乙的连接>
<a href="#" onMouseOver="javascript:toExit('show','xiaowang')" onMouseOut="javascript:toExit('hide','xiaowang')"><font
color="#0000FF">[乙]</font></a>
</html>
<body text="#ffffff">
<!-----------控制层显示的js代码(这种是最简单的了)---------->
<script language=javascript>
ie4=(document.all)?true:false;
ns4=(document.layers)?true:false;
function toExit(){
var args=toExit.arguments;
var visible=args[0];
if(ns4){
theObj=eval("document.layers[\'"+args[1]+"\']");
if(theObj)theObj.visibility=visible;
}
else if(ie4){
if(visible=='show')visible='visible';
if(visible=='hide')visible='hidden';
theObj=eval("document.all[\'"+args[1]+"\']");
if(theObj)theObj.style.visibility=visible;
}
}
</script>
<!--------------------------------这是显示内容层------->
<!甲的资料层>
<div id=boysoft
style="HEIGHT: 128px; LEFT: 120px; POSITION: absolute; TOP: 20px; VISIBILITY: hidden; WIDTH: 83px; Z-INDEX: 1; background-
color: #666666; layer-background-color: #666666; border: 1px none #000000">
<table border="0" width="639" height="128">
<tr>
<td height="22"><font color="#9999FF">姓名:王小丫</font></td>
</tr>
<tr>
<td height="22"><b>年龄:18</b></td>
</tr>
<tr>
<td height="28"><i><font color="#CCCCCC">个人简介:略...</font></i></td>
</tr>
<tr>
<td><font color="#99CCFF">其它:无</font></td>
</tr>
</table>
</div>
<!乙的资料层>
<div id=xiaowang
style="HEIGHT: 128px; LEFT: 122px; POSITION: absolute; TOP: 68px; VISIBILITY: hidden; WIDTH: 83px; Z-INDEX: 1; background-
color: #333333; layer-background-color: #333333; border: 1px none #000000">
<table border="0" width="639" height="128">
<tr>
<td height="22"><font color="#9999FF">姓名:黄小贱</font></td>
</tr>
<tr>
<td height="22"><b>年龄:20</b></td>
</tr>
<tr>
<td height="28"><i><font color="#CCCCCC">个人简介:略...</font></i></td>
</tr>
<tr>
<td><font color="#99CCFF">其它:无</font></td>
</tr>
</table>
</div>
<!----------------------主连接部分----------------->
<!甲的连接>
<a href="#" onMouseOver="javascript:toExit('show','boysoft')" onMouseOut="javascript:toExit('hide','boysoft')"><font
color="#0000FF">[甲]</font></a>
<p>
<p>
<!乙的连接>
<a href="#" onMouseOver="javascript:toExit('show','xiaowang')" onMouseOut="javascript:toExit('hide','xiaowang')"><font
color="#0000FF">[乙]</font></a>
</html>