Hello,
Anyone know how to make this Video 1490178668 - YouTube works on mobile? If you know how to figure it out, please contact me with your price. Must be done until tomorrow.
As you can see, i’m trying on Google Chrome browser (PC), but when i try on my mobile, wont work .
The scrollbar stays fixed. I’m using a Samsung Galaxy S6.
URL: http://specify.webflow.io/test-navbar
JS custom code at footer:
$(document).ready(function(){
$('body').bind('mousewheel', function(e){
if(e.originalEvent.wheelDelta < 0) {
// one liner - scroll down
mistyScrollDown()
} else {
// one liner - scroll up
mistyScrollUp()
}
})
$('.navbar_container a').click(function(){
if( $(this).hasClass('navbar_homebutton') ){
mistyScrollUp()
} else {
mistyScrollDown()
}
})
$('.fa-angle-down').click(function(){
$('.about_gradient').remove()
$('.about_column_left').css('height','auto')
$('.resume_link').css({
position:'relative',
bottom:'0'
})
})
// lets make some global functions
function mistyScrollDown() {
$('.navbar').css('top', '-103px')
}
function mistyScrollUp() {
$('.navbar').css('top', '0')
}
})
Thank you!
Renan