asp网页跳转

来源:百度知道 编辑:UC知道 时间:2024/05/10 20:20:32
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
id=request("id")
'=========================================
if id="" then '=================
id=1 '判断首次打开=====
end if '=================
'=========================================
if id = 1 then
url="www.163.com"
elseif id=2 then
url="www.126.com&qu

改为
<%
id=request("id")
'=========================================
if id="" then '=================
id=1 '判断首次打开=====
end if '=================
'=========================================
if id = 1 then
url="www.163.com"
elseif id=2 then
url="www.126.com"
elseif id=3 then
url="iask.sina.com.cn"
elseif id=4 then
url="www.51bjhouse.com"
'elseif id=5 then
'.===================================================
'. 5-10000 甚至更多 这里你可以用循环。我懒得写了。
'.===================================================
'.
'.
'elseif id=10000 then
end