Pages

Animated Scroll to Top

Hi ,This j query for scroll  to top on the  page ,it consists of simple j query for  scroll to top on the page.just scroll on the top of the page,,.

J query

Download this j query

<script type="text/javascript" src="js/jquery.min.js"></script>

Html Code :


<body id="top">
<div id="pagewrap">

//Your Content 
<p id="back-top"><a href="#top"><span>Back to Top</span></a></p>
</div>
</body>

 



index.php


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>Animated Scroll to Top</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body id="top">
<div id="pagewrap">
<p>World Heavyweight Champions
Edge (7)
Triple H (5)
Batista (4)
Chris Jericho (3)
CM Punk (3)
Randy Orton (3)
The Undertaker (3)
Big Show (2)
Christian (2)
Jeff Hardy (2)
John Cena (2)
Kane (1) (1)
Rey Mysterio (2)
Alberto Del Rio (1)
Chris Benoit (1)
Daniel Bryan (1)
Dolph Ziggler (1)
Goldberg (1)
Jack Swagger (1)
King Booker (1)
Kurt Angle (1)
Mark Henry (1)
Shawn Michaels (1)
Sheamus (1)
The Great Khali (1)</p>

<p id="back-top"><a href="#top"><span>Back to Top</span></a></p>
</div>
</body>
</html>