window.onload = function WindowOnLoad()
{
window.location="ms-siteactionsmenuhover";
}

解决方案 »

  1.   

    window.onload = function WindowOnLoad()
    {
    window.location="index.asp?action=framon";
    }
      

  2.   

    BODY里面onload=="location='index.asp?action=framon';"
      

  3.   

    不好意思,我不懂JScript code
    我是想把论坛地址修改,请问这个代码是放到哪个文件里,能说的明白点吗?
      

  4.   

    pageload里面
    Server.Transfer("index.asp?action=framon");
      

  5.   

    在index.asp页面的最前面加
    <a href="index.asp?action=framon"></a>
      

  6.   

    if (Request.QueryString["action"] == null || (Request.QueryString["action"] != null && !"framon".Equals(Request.QueryString["action"].ToString())))
                        Response.Redirect("index.asp?action=framon");
      

  7.   

    301 redirect or 302 redirect?
    301 永久转移 搜索引擎支持
    302 临时转移 搜索引擎不支持以301为例ASP Redirect
    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently"
    Response.AddHeader "Location","http://www.new-url.com/"
    %>ASP .NET Redirect
    <script runat="server">
    private void Page_Load(object sender, System.EventArgs e)
    {
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location","http://www.new-url.com");
    }
    </script>