支援的瀏覽器:FF1+ IE5+ Opr7+
簡介:顯示瀏覽者的瀏覽螢幕解析度
<script language="JavaScript1.2">
<!--
var correctwidth=800
var correctheight=600
if (screen.width!=correctwidthscreen.height!=correctheight)
document.write("This webpage is bested viewed with screen resolution "+correctwidth+"*"+correctheight+".
Your current resolution is "+screen.width+"*"+screen.height+". If possible,
please change the resolution!")
//-->
</script>
修改"correctwidth" 及 "correctheight"
沒有留言:
張貼留言