Showing posts with label Condition for Mobile Device in javascript. Show all posts
Showing posts with label Condition for 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>