tryit_view.asp@filename=trydhtml_menu4
来自「W3Schools tutorial..web designing」· ASP@FILENAME=TRYDHTML_MENU4 代码 · 共 58 行
ASP@FILENAME=TRYDHTML_MENU4
58 行
<html>
<head>
<script type="text/javascript">
var timer;
function scrolltop()
{
document.getElementById('scrollmenu').style.top=document.body.scrollTop;
timer=setTimeout("scrolltop()",1);
}
function stoptimer()
{
clearTimeout(timer);
}
</script>
</head>
<body onload="scrolltop()" onunload="stoptimer()">
<span id="scrollmenu" style="position:absolute">
<b>Menu</b><br />
<a href="../default.htm">W3Schools</a><br />
<a href="../../www.microsoft.com/default.htm">Microsoft</a><br />
<a href="../../www.altavista.com/default.htm">Altavista</a><br />
</span>
<table border="0" width="100%">
<tr>
<td width="100"> </td>
<td>Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
Scroll this page to see the "always-on-top" menu
<br /><br /><br /><br /><br />
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?