Mobile browsers can't get to the top height.

The responsive layout used in

finds out how to get the height at the top of the browser by using the following methods on the mobile browser. Can"t you use these in mobile browsers? my Orbon mobile browser
document.body.scrollTop
document.body.clientHeight

Mar.10,2021

you can take a look at this https://blog.csdn.net/zxf1359.


here is a compatible way to learn about it.

var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b363b3-2b774.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b363b3-2b774.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?