BackToTop : button «Back to top» appears when scrolling down your page - jQuery plugin
Késako ?
This plugin will add a "Back to top" link automatically to your page.
All is create by BackToTop plugin. No HTML code required !!
You can easily find thousand plugins like that, but our is more customizable than all others (go to the demonstration page to see it) !
The link is entirely skinnable with css. In the demonstration page, the link is full CSS3. But you can adapt it for IE (IE is bad, please delete it from your computer).
Optionally it can benefit from the jQuery Easing plugin with a different easing animation for the page scrolling.
BackToTop download package
- BackToTop v1.0
- jquery
- BackToTop.jquery.js
- BackToTop.min.jquery.js
- jquery-ui.js (optionnal)
- jquery.js
- css
- BackToTop.jquery.css
- index.php
- jquery
BackToTop implementation
1. First, include the CSS & jQuery files
<!-- include CSS & JS files -->
<!-- CSS file -->
<link rel="stylesheet" type="text/css" href="BackToTop.jquery.css" media="screen" />
<!-- jQuery files -->
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery-ui.js"></script>
<script type="text/javascript" src="BackToTop.min.jquery.js"></script>
2. HTML code
<!-- Very simple -->
<!-- no HTML code, the link is create by JS \o/ -->
<!-- simple no ? -->
3. Finally, make a simple BackToTop plugin call
<script type="text/javascript">
$(document).ready(function(){
// simple BackToTop plugin called
BackToTop();
// more complex BackToTop plugin called
BackToTop({
text : 'My awesome text',
autoShow : false,
timeEffect : 750
});
});
</script>
Who use BackToTop on the web ?
If you use BackToTop Plugin into your website and you want to be added here, please contact us !
We will add you with pleasure :)
How can you help us ?
If you love our work, you can show us your admiration by having a look on the ads, free for you, good for us =).THANKS !
Last News
QapTcha 4.1
Wed 7th MarchNew option 'autoSubmit' : auto submit form when the user has dragged it to end.