RF中滚动条的操作方法小结
2024-08-30 11:57:55
滚动条分为俩种,一:主页面中的滚动条。二:页面中的子页面的滚动条。
每种滚动条有都分为上下滑动与左右滑动。
下面分别介绍:
一:主页面的滚动条上下滑动:
execute javascript document.querySelector("body").scrollTop=${value} (参数化了数值,如:500)
主页面的滚动条左右滑动:
execute javascript document.querySelector("body").scrollLeft=${value} (参数化了数值,如:100)
二:子页面的滚动条上下滑动:
execute javascript document.querySelector("#id").scrollTop=${value}
子页面的滚动条上下滑动:
execute javascript document.querySelector("#id").scrollLeft=${value}
最新文章
- 省市级联.net
- simplify the design of the hardware forming the interface between the processor and thememory system
- jQuery实现等比例缩放大图片让大图片自适应页面布局
- 刷新的时候jquery获取checkbox是否为选中和设置选中
- UIwebView的html字符串高度计算
- jqgrid参数
- 与redmine对接
- 巧用五招提升Discuz!X运行速度
- H5新增标签
- ASP.NET Core Web API 索引 (更新Identity Server 4 视频教程)
- App架构师实践指南二之App开发工具
- poj3436 ACM Computer Factory, 最大流,输出路径
- strlen头文件
- Js的小技巧
- CF1073E Segment Sum 自闭了
- 安徽师大附中%你赛day9 T3 贵 解题报告
- HDU 4772 Zhuge Liang&;#39;s Password (简单模拟题)
- qt数据库sql语句使用c++中的变量
- null的比较问题
- FMDB 使用技巧