How to get the full screen size even if the browser window is resized?

Asked

Viewed 998 times

3

I can get the size of the browser window through the following code:

$(window).height();

However, this method takes the current size.

I wonder if I have how to get the full size of my screen even if I resize.

1 answer

5


I found that with this Javascript code I get the height and width:

   var altura = screen.height;
   var largura = screen.width:

Browser other questions tagged

You are not signed in. Login or sign up in order to post.