Showing posts with label Load script if mobile device in javascript. Show all posts
Showing posts with label Load script if mobile device in 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>