链接类
VML
按钮类
标题类
表单类
表格类
菜单类
窗口类
对象类
滚动条
键盘类
框架类
例子类
模拟类
日期类
色彩类
鼠标类
数学类
图片类
文字类
下拉框
样式类
游戏类
状态栏
资料类
字幕类
其它类
·
XP菜单
·
右键图形菜单
·
下拉式菜单
·
阴影菜单
·
阴影菜单
·
下滑菜单
·
很酷的菜单
·
显示隐藏的导航菜单
·
多颜色菜单
·
桌面右键菜单
您当前位置:
好素材首页
-> 网页特效 -> 菜单类
查看信息
简单菜单
好素材网 www.HaoSc.com 02月22日 11:49
[
查看演示
] 源码如下
----------------------------------------------------------
<html>
<script>
function show(c_Str)
{if(document.all(c_Str).style.display=='none')
{document.all(c_Str).style.display='block';}
else{document.all(c_Str).style.display='none';}}
function high(){
if (event.srcElement.className=="k"){
event.srcElement.style.background="336699"
event.srcElement.style.color="white"
}
}
function low(){
if (event.srcElement.className=="k"){
event.srcElement.style.background="99CCFF"
event.srcElement.style.color=""
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>导航栏-www.51windows.Net</title>
<style>td { cursor: hand; font-family: Tahoma; background-color: #336699; color: #99CCFF;
font-size: 10pt }
li { color: #FF0000; font-family: Tahoma; background-color: #99CCFF; font-size: 9pt}
.up{ background-color: #3A6EA5; border-left: 1 solid #A6C1DF;border-right: 1 solid #002200; border-top: 1 solid #A6C1DF; border-bottom: 1 solid #002200 }
</style>
</head>
<body topmargin="0" leftmargin="5">
<div align="left">
<table border="0" width="48" cellspacing="0" cellpadding="0">
<tr>
<td><div class=up onclick=show("a0")>+01-10</div><div onmouseover=high() onmouseout=low() id=a0 style="display:none">
<li class=k>01</li>
<li class=k>02</li>
<li class=k>03</li>
<li class=k>04</li>
<li class=k>04</li>
<li class=k>05</li>
<li class=k>06</li>
<li class=k>07</li>
<li class=k>08</li>
<li class=k>09</li>
<li class=k>10</li>
</div></td>
</tr>
<tr>
<td><div class=up onclick=show("a1")>+11-20</div><div onmouseover=high() onmouseout=low() id=a1 style="display:none">
<li class=k>11</li>
<li class=k>12</li>
<li class=k>13</li>
<li class=k>14</li>
<li class=k>15</li>
<li class=k>16</li>
<li class=k>17</li>
<li class=k>18</li>
<li class=k>19</li>
<li class=k>20</li>
</div></td>
</tr>
</table>
</div>
</body>
</html>
<div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand">
<input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div>
此信息共 1 页 [
1
]