Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript screen width

if (window.screen.width >= 1024 && window.screen.height >= 768) {
  alert('screen is ${window.screen.width} x ${window.screen.height}')
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #screen #width
ADD COMMENT
Topic
Name
4+7 =