Date Added: 19/01/2016

function max_width(w) {
   if(window.innerWidth <= w) {
     returntrue;
   } else {
     returnfalse;
   }

// if mobile 
if(max_width(768)){
     /// code for mobile
}

Last Update: Posted by: müslüm ÇEN

Not Commented Yet !
Please login in order to comment . Login