Latest Posts :
Home » » How to add Back to Top Widget with Double Click

How to add Back to Top Widget with Double Click



Usually, when we finished read an article, we've been at the very bottom of the blog. To return to the top, we must scroll the scrollbar. Actully, we can make a shortcut, so the visitors can return to the top of the blog easily, just double click! If you want apply this trick to your blog, you just follow the steps. To try this trick, you can double click on this blog.


1. Log in to your blogger account
2. Go to Design>>>Page Elements>>>Add Gadget
3. Choose "HTML/Java Script"
4. Copy the code below, and paste on the place
<script language="JavaScript1.2">
function dblclick() {
window.scrollTo(0,0)
}
if (document.layers) {
document.captureEvents(Event.ONDBLCLICK);
}
document.ondblclick=dblclick;
</script>
5. Save now
Share this post :

Post a Comment

 
Support : Website by | Bharadwaj
Copyright © 2012. Easy Blog Tools - All Rights Reserved
Template Created by Easy Blog Tricks Published by Bharadwaj
Proudly powered by Blogger