用javasrcipt 怎样重写url,从而隐藏url.

解决方案 »

  1.   

    状态栏隐藏 url,地址栏隐藏的话,用frame,但是frame对于页面布局不太好
    <script src="jquery.js"></script>
    <script>
    //作用:
    function setStatus()
        {
            window.status = "";
            return true;
        }
    $(document).ready(function(){
        $("a").hover(setStatus,setStatus);  
        $("a").focus(setStatus);
    });
    </script><a href = "a.php">href</a>
    <a href = "a.php">href</a>
    <a href = "a.php">href</a>
    <a href = "a.php">href</a>
    <a href = "a.php">href</a>
    <a href = "a.php">href</a>
    <a href = "a.php">href</a>
    <a href = "a.php" class="ae">href</a>
      

  2.   

    thank you very much .