主题:  也是关于分辨率的,大菜鸟的问题~

siren

职务:普通成员
等级:1
金币:0.0
发贴:20
注册:2003/6/3 20:06:20
#12003/8/31 22:55:31
我得到以下代码不知道该怎么用,比较笨希望能多多指点:

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;

}

// End -->

首先,这段应该插到那个位置head或body呵呵~

是不是把那些url640x480改成自己的地址就可以了

希望好心人能详细说点