jinyistudio Well-Known Member Licensed User Longtime User Apr 20, 2017 #1 Hi As following, How cloud i get the height !?
M mindful Active Member Licensed User Apr 20, 2017 #2 You can get the whole page with ABM.GetBrowserWidthHeight after that you subtract the height of the navbar (56 px by default) Upvote 0
You can get the whole page with ABM.GetBrowserWidthHeight after that you subtract the height of the navbar (56 px by default)
jinyistudio Well-Known Member Licensed User Longtime User Apr 20, 2017 #3 the height of ABM.GetBrowserWidthHeight is browser height not its inside display area. Upvote 0
stanmiller Active Member Licensed User Longtime User Apr 20, 2017 #4 jinyistudio said: the height of ABM.GetBrowserWidthHeight is browser height not its inside display area. Click to expand... This post below about ABMaterial sections may be related. It appears AB uses calc() to calculate the height of the inside viewport. calc(100vh - 56px) [ABMaterial] new section and page nav feature (3.02) https://www.b4x.com/android/forum/t...tion-and-page-nav-feature-3-02.77982/#content CSS Relative units https://www.w3schools.com/cssref/css_units.asp CSS calc() Function https://www.w3schools.com/cssref/func_calc.asp Upvote 0
jinyistudio said: the height of ABM.GetBrowserWidthHeight is browser height not its inside display area. Click to expand... This post below about ABMaterial sections may be related. It appears AB uses calc() to calculate the height of the inside viewport. calc(100vh - 56px) [ABMaterial] new section and page nav feature (3.02) https://www.b4x.com/android/forum/t...tion-and-page-nav-feature-3-02.77982/#content CSS Relative units https://www.w3schools.com/cssref/css_units.asp CSS calc() Function https://www.w3schools.com/cssref/func_calc.asp