This "Scroll-Lock" script works great on my desktop site, but not so much on mobile. I think I'd rather just have it disabled on my mobile version. My thought would be to add a media query but I can't figure out where to put it in the above code. Thanks in advance.
Question
NWCPhotos 3
Hello,
First post here, looking for some advice working with the following css script:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.19/jquery.scrollify.min.js"></script>
<script>
$(function() {
$.scrollify({
section : ".Index-page",
});
});
</script>
This "Scroll-Lock" script works great on my desktop site, but not so much on mobile. I think I'd rather just have it disabled on my mobile version. My thought would be to add a media query but I can't figure out where to put it in the above code. Thanks in advance.
Link to post
Top Posters For This Question
5
3
2
Popular Days
Nov 12
4
Nov 13
2
Nov 14
2
Nov 24
1
Top Posters For This Question
NWCPhotos 5 posts
bangank36 3 posts
tuanphan 2 posts
Popular Days
Nov 12 2020
4 posts
Nov 13 2020
2 posts
Nov 14 2020
2 posts
Nov 24 2020
1 post
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment