Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How To Use Media Query Using Jquery

if (window.matchMedia('(max-width: 768px)').matches)
{
    // do functionality on screens smaller than 768px
}
Source by dzone.com #
 
PREVIOUS NEXT
Tagged: #How #To #Use #Media #Query #Using #Jquery
ADD COMMENT
Topic
Name
9+9 =