setTimeout("clearDiv()",2000);2000表示2000毫秒,就是两秒,改它屏幕分辨率
width:screen.width
height:screen.height
width:screen.width
height:screen.height
解决方案 »
- 求一个新浪微博登录时的提示js效果
- 用js获取及改变meta
- ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●邪恶的eval和new Function!!!!!!!!!!!
- Ext 2.1 中 TabPanel 例子中autoLoad:‘ajax1.html'怎么显示不出来?
- 关于闭包不明白的地方,举个例子。。。
- window.open怎么传中文参数 急急
- 在Mozilla中如何检测鼠标左键是否被按下?
- 一个因扰多时的问题:如何实现在页面刷新时或关闭该页面前把现有表格中所有列值提交给的数据库
- 窗口resize就刷新页面,怎样实现?
- 有什么方法可以去掉字符串左右两边的空格?????
- 如何定议滚动条的颜色?
- 如何用Javascript在IE中打开Excel文件?
if (screen.width == 1024) location.href = "htm2.htm";
else if (screen.width == 800) location.href = "htm1.htm";
else return(false);
}