responsive design - Call jquery method on desktop -
i have following jquery call on website , actioned if visitor using desktop device (screen size on 767px). how can achieved?
script
<script>$("#sidebar").stick_in_parent();</script>
you can check window width, keep in mind, there handhelds on 767px width. not "desktop check".
if( $(window).width() >= 767 ) $("#sidebar").stick_in_parent();
Comments
Post a Comment