📄 14-10.htm
字号:
<html>
<head>
<title>§14.10 一个动态的菜单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
.menulines
{
border:1px solid white;
}
.menulines a
{
text-decoration:none;
color:black;
}
</style>
<script language="JavaScript1.2">
function borderize(what,color)
{
what.style.borderColor=color
}
function borderize_on(e)
{
if (document.all)
source3=event.srcElement
else
if (document.getElementById)
source3=e.target
if (source3.className=="menulines")
{
borderize(source3,"black")
}
}
function borderize_off(e)
{
if (document.all)
source4=event.srcElement
else
if (document.getElementById)
source4=e.target
if (source4.className=="menulines")
borderize(source4,"white")
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table border="0" width="150" cellspacing="0" cellpadding="0" onMouseover="borderize_on(event)" onMouseout="borderize_off(event)">
<tr>
<td width="100%" bgcolor="#E6E6E6"><font size="3"><b>菜单</b></font></td>
</tr>
<tr>
<td width="100%" class="menulines"><font size="2"><a href="http://javascript100.yeah.net">我的主页</a></font></td>
</tr>
<tr>
<td width="100%" class="menulines"><font size="2"><a href="#">自我介绍</a></font></td>
</tr>
<tr>
<td width="100%" class="menulines"><font size="2"><a href="#">我的栏目一</a></font></td>
</tr>
<tr>
<td width="100%" class="menulines"><font size="2"><a href="#">我的栏目二</a></font></td>
</tr>
<tr>
<td width="100%" class="menulines"><font size="2"><a href="mailto:future3@yeah.net">给我来信</a></font></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -