html make at top of site code example
Example: scroll to top
$("#scroll_icon").click(function()
{
jQuery('html,body').animate({scrollTop:0},2000);
})
$("#scroll_icon").click(function()
{
jQuery('html,body').animate({scrollTop:0},2000);
})