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

3

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

$(window).height();

However, this method takes the current size.

I would like to know if I can get the full size of my screen even if I resize it.

    
asked by anonymous 17.12.2015 / 20:44

1 answer

5

I've found that with this JavaScript code I get the height and width:

   var altura = screen.height;
   var largura = screen.width:
    
17.12.2015 / 20:47