按鈕式:
<INPUT name="pclog" type="button" value="GO" onClick="location.href='http://xxxx.cn/'">
鏈接式:
<a href="javascript:history.go(-1)">返回上一步</a>
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a>
直接跳轉式:
<script>window.location.href='http://www.xxxx.cn';</script>
開新窗口:
<a href="javascript:" onClick="window.open('http://www.xxxx.html','','height=500,width=611,scrollbars=yes,status=yes')">奉天承運</a>
自動跳轉:
<html>
<head>
<title>newpaeg</title>
</head>
<script language='Javascript'>
function go(){
window.location="http://www.sohu.com"; //跳轉到http://www.sohu.com頁面,轉至同一目錄還是其它網頁看你給的地址了
}
setTimeout("go()",5000);
/5秒鐘後執行go()
}
</script>
<body>
</body>
</html>