Showing posts with label How to load jQuery only in Mobile device javascript. Show all posts
Showing posts with label How to load jQuery only in Mobile device javascript. Show all posts

Saturday, 7 February 2015

Run script only in Mobile device in javascript


Run script only in Mobile device in javascript

<script type="text/javascript">

if (screen.width < 980) {

    jQuery('#zoom1').removeClass('cloudzoom');
 }

</script>