检查浏览器的分辨率
<script language="JavaScript">
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
if(screen.width!=1024 && screen.height!=768)
alert("您浏览器的分辨率为:"+screen.width+"*"+screen.height+" 本站最佳浏览分辨率为:1024*768 ");
</script>
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
if(screen.width!=1024 && screen.height!=768)
alert("您浏览器的分辨率为:"+screen.width+"*"+screen.height+" 本站最佳浏览分辨率为:1024*768 ");
</script>