php中,js识别客户端浏览器分辨率之后,调用不同文件的用法 document.write() 不可以使用 include 文件,只有使用框架 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <IFRAME frameBorder=0 marginHeight=0 marginWidth=0 name="iFrame_" id="iFrame_" scrolling=no width=100% align="center" height=88></IFRAME>//先预植IFRAME<script language=javascript> <!-- if(screen.width==800){ url = "../main/flash2.htm" }else{ url = "../main/flash.htm" } document.all.iFrame_.src= url//--> </script> 有没有办法先判断if(screen.width==800){},把结果传递到php中? 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%> js操作access问题 jquery设置CSS文件中的样式 火狐和IE下JS兼容问题,火狐下出错 求助,关于js滚动图片 extjs combo 选择问题 想实现全屏类似于FullScreen效果,但不是打开新窗口而是在原来的窗口实现(急 马上送分) javascript 的事件绑定,实在不知道错误在哪? 当鼠标放到连接上时滚动停止不了,那里错了 如何在自定义类中声明私有数据和私有方法 高分请教达人:菜单项的动态载入。。。。。。。。 求简洁高效的判断IE版本的JS 如何得知图片的类型和长宽,高手请入
//先预植IFRAME
<script language=javascript>
<!--
if(screen.width==800){
url = "../main/flash2.htm"
}else{
url = "../main/flash.htm"
}
document.all.iFrame_.src= url
//-->
</script>
<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
%>