0

I am currently using $(window).height() to get a screens height . but this is returning 0 in firefox . any other way to get height in firefox ??

Teja Reddy
  • 561
  • 1
  • 4
  • 12
  • 1
    this might help http://stackoverflow.com/questions/12937494/why-does-firefox-return-0-as-the-value-of-window-height – Leigh Ciechanowski Jun 11 '14 at 09:46
  • [This](http://stackoverflow.com/questions/3079341/check-users-resolution-in-css) might help you 2 options cited there. – Yaje Jun 11 '14 at 09:47

1 Answers1

1

You can use screen.height and screen.width properties ,to find out screen size. For more info

Prabhakaran Parthipan
  • 4,193
  • 2
  • 18
  • 27