html5 - Javascript: Count number of screen -


We are developing a web application that will use 4 screens. What is the method to calculate the number of screens?

this may help

assuming the rectangular arrangement of the screen and all screens There is a single height and width.

  / / Total window width is divided by single screen width h_screens = Math.round (window.outerWidth / window.screen .availWidth); /// Total window height var v_creens = Math divided by single screen height (Window. Oat / window.screen.availHeight); var total_screens = h_screens * v_creens;   
  • ▆ ▆
    ▆ ▆

    4 = 2 * 2;

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -