#22004/3/15 21:46:37
                            
                                <SCRIPT LANGUAGE="javascript">
<!-- 
function redirectPage() { 
var url640x480 = "http://www.5d.cn/640x480";**记得改相应的页面
 var url800x600 = "http://www.5d.cn/800x600"; 
var url1024x768 = "http://www.5d.cn/1024x768"; 
if ((screen.width == 640) && (screen.height == 480)) 
window.location.href= url640x480; 
else if ((screen.width == 800) && (screen.height == 600)) 
window.location.href= url800x600; 
else if ((screen.width == 1024) && (screen.height == 768)) 
window.location.href= url1024x768; 
else window.location.href= url640x480; } 
// --> 
以下代码加入<BODY>区: 
<form> <input type=button value="进入符合分辨率的页面" onClick="redirectPage()"> </form>