" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
You may have seen ‘back to top’ link to take the user to top of the page.
There are two ways to do it.
Back to top
You can specify any position by x- and y- coordinate to scroll to particular position in the page.
<%--Link to take the User to starting of the page--%>
<a href="#MainContainer">back to top</a>
where MainContainer is the ID of the main container of the page.
Some jQuery plugins are also available to give sliding effect.
Mail (will not be published) (required)
Enter Captcha Code *
× five = 15
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...