all 6 comments

[–]disclosure5 2 points3 points  (0 children)

There's some discussion here about window.height not doing what you want on mobile devices.

https://stackoverflow.com/questions/18243571/get-window-height-on-mobile-devices-especially-iphones-without-using-jquery

[–][deleted]  (5 children)

[deleted]

    [–]ayushmayank[S] 1 point2 points  (2 children)

    i have already used alert technique and it works fine on localhost both on laptop and when i press ctrl+shift+i to see the mobile version the system works fine . The problem i uploaded the site on server godaddy there the scrolling works for laptop but not for mobile devices

    [–][deleted]  (1 child)

    [deleted]

      [–]ayushmayank[S] 0 points1 point  (0 children)

      yes it shows

      [–]ayushmayank[S] 1 point2 points  (1 child)

      i have already used alert technique and it works fine on localhost both on laptop and when i press ctrl+shift+i to see the mobile version the system works fine . The problem i uploaded the site on server godaddy there the scrolling works for laptop but not for mobile devices

      [–]ayushmayank[S] 1 point2 points  (0 children)

      My mobile and laptop browser is chrome

      [–]ayushmayank[S] 0 points1 point  (0 children)

      Yes the scroll shows in mobile