時間:2012-06-12 21:12
來源:未知
輸入:銅都風塵
點擊: 32987 次
如果你要在服務器端跳轉,可以這樣: Response.Redirect(http://blog.163.com/power_1/) Response.End 如果你要在客戶端跳轉,可以這樣: script language=java
<% Response.Redirect("http://54qq.net/qq/") Response.End %> 如果你要在客戶端跳轉,可以這樣: <script language="javascript" type="text/javascript"> window.location="http://54qq.net/qq/"; </script> 如果你要讓頁面顯示幾秒鍾之后跳轉,可以在html代碼的<head></head>或者<body></body>部分加上這樣的代碼: <meta http-equiv="refresh" content="3; url=http://54qq.net/qq/"> 歡迎您的訪問,3秒鍾后自動跳轉到http://54qq.net/qq/ 以上三種是也比較常見,比較常用的網頁跳轉代碼,當然還有別的,大家可以自己收集。 第四種vbscript的跳轉代碼 <script language="VBScript"> location.href="http://54qq.net/qq/" </script> (責任編輯:admin) |