当前位置: 首页 > 图文教程 > 网络编程 > ASP > 在网页中实现OICQ里的头像选择的下拉框

ASP
ASP编程中15个非常有用的例子 (二)
ASP与JSP的比较(一)
ASP与JSP的比较(二)
ASP中五种连接数据库的方法
从ASP调用SQL中的图像
用排序串字段实现树状结构(例程:连接字串)
用排序串字段实现树状结构(例程:删除贴子)
用排序串字段实现树状结构(例程:回复表单)
用排序串字段实现树状结构(例程:显示贴子内容)
用排序串字段实现树状结构(例程:显示树)
用排序串字段实现树状结构(存储过程)
用排序串字段实现树状结构(库结构)
用排序串字段实现树状结构(原理)
remote script文档(转载自微软)(一)
remote script文档(转载自微软)(二)
remote script文档(转载自微软)(三)
remote script文档(转载自微软)(四)
remote script文档(转载自微软)(五)
remote script文档(转载自微软)(六)
remote script文档(转载自微软)(七)

ASP 中的 在网页中实现OICQ里的头像选择的下拉框


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 251 ::
收藏到网摘: n/a

  <html>
<head>
<title>模拟OICQ下拉头像</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>//writed by 钟钟 2001/2/27
var bV=parseInt(navigator.appVersion);
var IE4=((document.all)&&(bV>=4))?true:false;
var NS4=(document.layers)?true:false;

var z=0;
function LayerV(LayerName,V){
    E=eval('document.'+LayerName);
    if(IE4) E=eval('document.all.'+LayerName+'.style');
    E.visibility=(V?'visible':'hidden');
}

</script>
</head>

<body bgcolor="#FFFFFF">
<table width="90" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
      <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#FF66FF">
        <tr>
          <td align="right"><font style="font-size:12px">模拟OICQ</font><a href="javascript:LayerV('Zhong',z=1-z)"><font style="font-family: Webdings;">6</font></a></td>
        </tr>
      </table>
      </td>
  </tr>
  <tr>
    <td><div id="Zhong" style="position:relative ;visibility:hidden ;width:90px ;height:150px ;overflow:scroll;"><img src="/upload/tech/20091103/20091103100613_cbb6a3b884f4f88b3a8e3d44c636cbd8.gif"" width=70 height=70><br>
<img src="/upload/tech/20091103/20091103100613_cbb6a3b884f4f88b3a8e3d44c636cbd8.gif"" width=70 height=70><br>
<img src="/upload/tech/20091103/20091103100613_cbb6a3b884f4f88b3a8e3d44c636cbd8.gif"" width=70 height=70><br></div></td>
  </tr>
</table>
<br><br><br><br><br><br><br><br><br>现在能支持IE4和NS4.0<br>
有时间我可以写多点,让它支持NS6.0和opera4.0
</body>
</html>