如何让页面自动调整分辨率 1024.768 & 800.600 if(window.screen.width==800) { alert("800") }else if (window.screen.width==1024) { alert("1024") } 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if(window.screen.width==800) { url = "800*600的asp.asp" }else if (window.screen.width==1024) { url = "1027*768的asp.asp" } location.replace(url)//跳转 screen.availWidth﹑screen.availHeight這兩個屬性是獲得屏幕分辨率的if(screen.availWidth>=1024)location.replace("indexcopy.asp");else {location.replace("index.asp");} default.htm<body onload="document.form1.clientWidth.value=screen.width;document.form1.submit()"><form name="form1" action="Redirect.asp" method="post"><input name="clientWidth" type=text style="display:none"></form>Redirect.asp<%dim clientWidthclientWidth =request.form("clientWidth")if clientWidth="800" then Response.Redirect "default800.asp"else Response.Redirect "default1024.asp"end if%> 根据window if(window.screen.width==800) { url = "800*600.asp" }else if (window.screen.width==1024) { url = "1024*768.asp" } 用javascript,在table中怎么画一个占两列的TD jsValidation 能验证jsp页面吗(在线急等)? 循环显示图片!跪求指导! 哎。。。菜鸟就是菜鸟改一下就不能用了,苦恼中 javascript xpath的问题 主窗口加载的如何控制其下的iframe的src 如何用JQuery选择器选择下面的三个a标签 如何循环显示几段js代码的内容? 帮忙解释一下这段代码.谢! 大家进来看看。100分毫无虚言。关于视窗的。 超菜问题,抢分的进 如何实现鼠标经过图片时出现提示图层
{
url = "800*600的asp.asp"
}else if (window.screen.width==1024)
{
url = "1027*768的asp.asp"
}
location.replace(url)//跳转
else {location.replace("index.asp");}
<form name="form1" action="Redirect.asp" method="post">
<input name="clientWidth" type=text style="display:none">
</form>
Redirect.asp<%
dim clientWidth
clientWidth =request.form("clientWidth")
if clientWidth="800" then
Response.Redirect "default800.asp"
else
Response.Redirect "default1024.asp"
end if
%>
{
url = "800*600.asp"
}
else if (window.screen.width==1024)
{
url = "1024*768.asp"
}