JS history对象和screen对象以及Navigator对象
来源:互联网 发布:linux du命令排序 编辑:程序博客网 时间:2024/05/18 09:03
history
1、history.back 回到历史记录的上一步等于 history.go(-1);
2、history.forward() 前进一步等于history.go(1);
screen
1、获取屏幕宽度:screen.availWidth 等于获取窗口宽度:window.innerWidth;宽度
2、获取屏幕高度:screen.availHeigth等于window.innerHeigth;高度
Navigator对象
1、获得浏览器的信息navigator.userAgent;
阅读全文
0 0
- JS history对象和screen对象以及Navigator对象
- window对象中的location、screen、navigator、history
- 浏览器对象(Window、History、Location、Navigator、Screen)
- Professional JS(8.1.5导航和打开窗口/location/navigator/screen/history对象/Summary)
- Window 对象、document对象、history对象、location对象、navigator对象、screen对象
- JavaScript浏览器对象之三History对象+Navigator对象+Location对象+Screen对象
- JavaScript浏览器对象之History对象 Navigator对象 Location对象 Screen对象
- js_day23--js DOM编程(history+location+navigator+screen+event对象)
- javascript浏览器对象(window/计时器/History/location/navigator/screen/document)
- 浏览器对象模型BOM-window,history,location,screen,navigator
- 第八章:BOM(location对象、navigator对象、screen对象、history对象)
- js笔记5浏览器对象和history和screen
- JS浏览器对象-windows对象、计时器、History对象、Location对象、Screen对象
- 原生JS(1)BOM,navigator,location,screen对象
- JS navigator 对象
- js navigator对象
- JS Navigator对象
- 学习 JS navigator 对象
- IIS——您查找的资源存在问题
- TextView 常用属性及其对应方法
- Abput ajax
- java2013的4道题的Answer
- cmake中链接系统标准库
- JS history对象和screen对象以及Navigator对象
- PAT-A-1013. Battle Over Cities (25)
- Vjudge攻略——POJ2965
- Android金额输入框只允许输入小数点后两位
- javascript:实现转动的圆圈
- WebService-02
- vs下编译qt项目,qrc资源问题
- String、StringBuffer、StringBuilder的区别
- VLAN原理详解