如何制作下拉菜单

jackdon 2001-07-19 10:28:09
如何制作下拉菜单 例(http://www.sdnu.edu.cn/),谢谢7
...全文
66 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
casear_huang 2001-07-19
  • 打赏
  • 举报
回复
把这段代码加到<head>当中
<SCRIPT LANGUAGE=vbscript>
<!--
Function showtable()
xo.style.visibility=""
End Function

Function hiddletable()
xo.style.visibility="hidden"
End Function
-->
</SCRIPT>
<style>
<!--
a:link { text-decoration: none; color: #FFFFFF }
a:visited { color: #FFFFFF; text-decoration: none }
a:active { color: #FFFFFF; text-decoration: none }
a:hover { color: #FF0000; text-decoration: none }
table { font-size: 10pt }
-->
</style>

把下面这段代码加到<body>当中
<div align="center">
<center>
<table border="0" cellspacing="0" width="10%" cellpadding="0">
<tr>
<td width="100%" align="center" bgcolor="#3399FF" onmousemove=showtable() onmouseout=hiddletable() style="line-height=150%"><font color="#FFFFFF">菜单</font></td>
</tr>
<tr>
<td width="100%" align="center">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id=xo style="visibility:hidden" onmousemove=showtable() onmouseout=hiddletable()>
<tr>
<td width="100%" align="center" style="line-height=10%"></td>
</tr>
<tr>
<td width="100%" bgcolor="#3399FF" align="center"><font color="#FFFFFF"><a href="http://www.163.com">今日</a></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#3399FF" align="center"><font color="#FFFFFF"><a href="http://www.sohu.com">明日</a></font></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>
TIYer 2001-07-19
  • 打赏
  • 举报
回复
用层进行操作,http://www.sdnu.edu.cn/ 就是用层来做的,在dreamware里面很容易就实现了

1,451

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计/Flash/Silverlight 开发 图象工具使用
社区管理员
  • 图象工具使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧