fadeIn fadeOut Demo

Hi it very usfull thing for content based website like new portal or tutorials portal, if page has more content, user is now bottom of the page if he you want to go top that time it will help (Gt To Too).
Even it is userfriendly also so use it make attractive just flow the step understandd and use it.

Jquery Code

Here some jquery example code with id and events with functions, we have button (#gotop) with click event, when user clicks on Go To Top button total document scroll (with animation)top ("0px").

just observe code, code will demonstrate.
$("#gotop").click(function(){
$("html, body").animate({
scrollTop: "0px" }, 800);
});

HTML code

HTML code with to div elements one is for content (forcontent) and remine is for button (Go To Top).

<div id="forcontent">Enter text here about your business</div>
<div id="gotop">Top</div>
#gotop{
width:200px;
background:#00a4fa;
border:1px solid #000;
padding:3px;
}
#forcontent{
height:700px;
width:400px;
background:#ff0000;
}
jquery go to top code