Rohith kms (Talk | contribs) |
Rohith kms (Talk | contribs) |
||
Line 137: | Line 137: | ||
window.slide = new SlideNav({ | window.slide = new SlideNav({ | ||
changeHash: true | changeHash: true | ||
+ | }); | ||
+ | |||
+ | $(window).scroll(function (event) { | ||
+ | var scroll = $(window).scrollTop(); | ||
}); | }); | ||
$('#scroll').click(function(){ | $('#scroll').click(function(){ | ||
− | $("html, body").animate({ | + | $("html, body").animate({ scroll + $(window).height()}, 600); |
return false; | return false; | ||
}); | }); |
Revision as of 01:37, 2 November 2017