0

Does anyone know how to add a hovering effect to a scroll down button the same as this site - http://www.rex-kralj.com/home? Any help is much appreciated.

user3462744
  • 191
  • 2
  • 5
  • 13

2 Answers2

0

If you want to do it easy, you have some jQuery plugins like PageScroller or fullPage. There are more, just look for "jquery scroll page" at google and you'll find lots.

kosmos
  • 4,253
  • 1
  • 18
  • 36
0

A simple jQuery code can do what you want :

$('#mybutton').click(function(){
    $("html, body").animate({scrollTop: $(window).height()+"px"});
})

$(window).height() means the height of your screen, but you can put the value you want. Have a look to this StackOverflow question.

Community
  • 1
  • 1
Lucas Willems
  • 6,673
  • 4
  • 28
  • 45