Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
$(window).scroll(function() { | $(window).scroll(function() { |
Latest revision as of 11:57, 17 October 2018
$(window).scroll(function() {
var scrolledY = $(window).scrollTop(); $(".intropic").css("background-position", "left " + ((scrolledY)) + "px");
});
$("#menuicon").click(function(){ $("#menuicon").toggleClass("change"); $("#sidenav").toggleClass("visible"); });