判断客户端分辨率
<script language="javascript1.2">
if (window.screen){ var w=screen.width; url_800="index1.asp"; url_1024="index2.asp" //请根据你的文件命名修改 if (w<835){ self.location.replace(url_800); }//加入判断条件,还可以用“&”加入多个判断条件 if (w>=835){ self.location.replace(url_1024); } } </script>