滚动条分为俩种,一:主页面中的滚动条。二:页面中的子页面的滚动条。

每种滚动条有都分为上下滑动与左右滑动。

下面分别介绍:

一:主页面的滚动条上下滑动:

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}

最新文章

  1. 省市级联.net
  2. simplify the design of the hardware forming the interface between the processor and thememory system
  3. jQuery实现等比例缩放大图片让大图片自适应页面布局
  4. 刷新的时候jquery获取checkbox是否为选中和设置选中
  5. UIwebView的html字符串高度计算
  6. jqgrid参数
  7. 与redmine对接
  8. 巧用五招提升Discuz!X运行速度
  9. H5新增标签
  10. ASP.NET Core Web API 索引 (更新Identity Server 4 视频教程)
  11. App架构师实践指南二之App开发工具
  12. poj3436 ACM Computer Factory, 最大流,输出路径
  13. strlen头文件
  14. Js的小技巧
  15. CF1073E Segment Sum 自闭了
  16. 安徽师大附中%你赛day9 T3 贵 解题报告
  17. HDU 4772 Zhuge Liang's Password (简单模拟题)
  18. qt数据库sql语句使用c++中的变量
  19. null的比较问题
  20. FMDB 使用技巧

热门文章

  1. ShopNC B2B2C最新版去除shop方法教程
  2. idea 配置idk
  3. 69、schema的相关方法
  4. VMware里克隆出来的CentOS Linux device eth0 does not seem to be present, delaying initialization
  5. angular5 清除定时器
  6. angular-file-upload插件的使用简单介绍
  7. WPF常规表单验证
  8. 力扣算法——135Candy【H】
  9. ssh远程连接控制 linux 口令、密钥连接
  10. C# winform 文件管理