根据你的分辨率自动跳转到指定的页面 <script>if(screen.width==800||screen.height==600)location='a.htm';elselocation='b.htm';</script> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 应该是:<script>if(screen.width==800 && screen.height==600)location='a.htm';elselocation='b.htm';</script> document.location=screen.width==800?'800.htm':screen.width==1024?:'1024.htm':'item.htm'; 运行asp.net如何配置啊 Excel无法显示帮助,这项功能目前尚未安装,是否现在安装? document.body.setCapture()后鼠标滚轮失效了 3幅图片3秒轮显JS代码帮忙修改下? Extjs4.2 三个关于日期的小问题 请问能否用JAVASCRIPT对某个表中按某个表格列的字符进行排序??????????? javascript高手请进来看看 什么是正则表达式?它怎么用的 怎么调用word??? help!!! 导航条的实现?????????????? 表单的提交
if(screen.width==800 && screen.height==600)
location='a.htm';
else
location='b.htm';
</script>