本帖最后由 QQ373141371 于 2011-07-13 11:30:11 编辑

解决方案 »

  1.   

    参考:
    http://www.tripwiremagazine.com/2010/12/20-awesome-jquery-powered-web-site-navigation-scripts.html
      

  2.   

    <html>
    <head>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function setVariables() {
    if (navigator.appName == "Netscape") {
    v=".top=";
    dS="document.";
    sD="";
    y="window.pageYOffset";
    }
    else {
    v=".pixelTop=";
    dS="";
    sD=".style";
    y="document.body.scrollTop";
    }
    }
    function checkLocation() {
    object="object1";
    yy=eval(y);
    eval(dS+object+sD+v+yy);
    setTimeout("checkLocation()",10);
    }
    // End -->
    </script>
    </head>
    <body OnLoad="setVariables();checkLocation()"><div id="object1" style="position:absolute; visibility:show; left:0px; top:0px; z-index:2"><table width=128 border=1 cellspacing=20 cellpadding=0>
    <tr>
    <td height="97" bordercolorlight="#C0C0C0" bordercolordark="#808000">
    <p align="center"><a href="/">首页</a><br>
    <a href="/">网页代码站</a><br>
    <a href="/">菜单导航</a><br>
    <a href="/">文本链接</a></p>
    </td>
    </tr>
    </table>
    </div>
    </body>
    </html>
    来自: http://hi.baidu.com/%B7%C9%C9%CF%C0%B6%CC%EC%B5%C4%D0%A1%D3%E3/blog/item/2a76ccf92990b7284e4aea45.html 
      

  3.   

    可以用CSS来实现导航菜单和自动跟随屏滚动
    拖动必须用脚本来实现。