If you have some longs posts, or if some loyal visitors, who love to comment a lot on your blog, then it may create a small problem to other visitors, who would wish to come quickly to the top of the blog, after reading a post and it's comments.
So to add a short-cut for them, would be a good idea in this case. For this you can easily add a "Go to Top" arrow button, which keeps on sliding as the readers reads the post, and whenever clicked by him/her, it will escort them to the top region of the blog [See this in action in this blog - Right corner].
Log in to Blogger
Go to Layout -> Add a Gadget -> HTML/JavaScript type
Then paste this code in to it:
And in case, you have Adobe Photoshop installed in your computer, then you can download a PSD image [Image shown above - with all arrows in it], and edit to get the arrows from it
[Download from Devianart]
So to add a short-cut for them, would be a good idea in this case. For this you can easily add a "Go to Top" arrow button, which keeps on sliding as the readers reads the post, and whenever clicked by him/her, it will escort them to the top region of the blog [See this in action in this blog - Right corner].
Log in to Blogger
Go to Layout -> Add a Gadget -> HTML/JavaScript type
Then paste this code in to it:
<a style="display:scroll;position:fixed;bottom:5px;right:5px;" href="#" title="Back to Top"><img src="http://i34.tinypic.com/35lyjrb.gif" /></a>And of course you can use other images too, by replacing the red part of the code above, try some of these:
And in case, you have Adobe Photoshop installed in your computer, then you can download a PSD image [Image shown above - with all arrows in it], and edit to get the arrows from it
[Download from Devianart]


































57 comments:
Great widget! Thanks for sharing!
Hey, my button is gone and it was there yesterday. What is wrong? My blog where the button is missing: http://howtoearnmoneyonline-snam.blogspot.com/
Its not a coding problem, actually, the image is hosted at Gigaimage, and i think there's some server problem at Gigaimage, so the images are not loading from them......you can host the image anywhere else and use the same code !
:D
Thanks
thankyou for this page
Welcome guys !
Sai
I am in love with your blog. You just rocked me with tonnes of tips and tricks. I just added you to my follow list.
This tricked worked for me. But I want a Back to Top button just like yours. Tell me how to get it
Regards,
Learn how to increase your Computer Speed
haha I got one just like yours by stealing the code from your source file. Credits goes to you.
To see the result visit,
Learn how to increase your computer speed
Regards,
MOHD___
Hi! I would like to thank you for all your help, not just here but throughout your site.
One question, if I wanted to add one to take me to the bottom of the page, how would I change the code?
Take Care,
Peter
Hi Peter,
thanks for your kind comment...
to link the bottom of the page simply make this change in the above code:
change
href="#"
to
href="#footer"
that's it !
Regards
Sai
Hi Sai! That was quick. You're certainly on the ball with your answers! You are to be commended again for your great work! I'll amend the one I'm working on.
Take Care,
Peter
:)
Hi "Brilliant".
You are doing a wonderful job here.
Thanks,
Selvaraj
Hello Selvaraj !
Thanks for the encouraging comment...
You are always welcome here !
Regards
Sai
I have a question. How do you make your back to top button grow on mouse over?
Hi A WoW Addict,
ACtually that's a simple combination of 2 images of different sizes, which change themselves on mouse hover,
You'll better understand that through this post:
http://bloggerstop.net/2009/01/create-html-button-for-your-blog.html
Thanks! The button is working perfectly.
This tutorial is very useful. But what codes do I need to add if I also want a "Go To Bottom" button? A "Go To Bottom" on the top-right side and a "Go To Top" on the bottom-right side of my blog's page. I'm gonna have to follow your blog... :))
Hi...
In the code above, change this:
bottom:5px;right:5pxto something like:
top:25px;right:5pxRegards
Sai
HOW U CHANGED UR OLDER POST ICON...
?
can u plz tell me how to show html codes in blogger posts the easy way please
jayarajyadav
Thank you for your " Uncomplicated code " you have made my life much easier today ! :) Wishing you much success in all of your life endeavors . Have a great summer !
Welcome Mia and thanks for your good wishes !
You are always welcome here :)
Hi Divya...u r doing a gud job! I'm new in blogging, learning alot from ur tips n tricks...thanks yaar! ;)
This is great, I have put both go down and back to top button, but so far they are both pointing up. I think i need to find to same type image one pointing down the other up.
can you please tell me how to have the one like yours in this blog. The one that grow when u move the cursor on it.
I am still making my new blog
I have just added an animated Go Down and Back to Top button. at my blog http://sportsnews247.blogspot.com. I am not working on blog tips but feel free to ask.
Thanks Divya.
.wow..owesome idea..
.excuse me for copy it to my page...
. :). :). :). :). :)
perfectly, is working good, my i can get any trik author???????? like ads pop up menu ;))
Couldn't get you ramlan...you want to know how a pop-up menu is added?
WHooaa... it worked ? hehe.. just wonder if we can alter the coding of the top button to make go to old posting.. http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif
thanks a lot. Great tip.
see at my blog.
hiii, hackrishna here....
Well Sorry 2 say that the footer trick isn't working !
I hav done everythin as uu said...but........
Pls Help Yaar.....
Thank uu 4 Spreading all dose Knowledge, but pls dnt 4get 2 find a solution 4 me.
Do not use gigaimage to host your images, rather use tinypic.com
and the widget will start working.
hi, this Button is very nice and useful for all, but i want "Go to Bottom" button in my blog (animalszooguru.blogspot.com). Please provide me the code.
Thanks.
In this tutorial I have used
href="#"
where the target (#) takes you to the top of the page, so instead of that make an anchor yourself something like #bottom
and then link a floating image to it. For this image, position should be a few pixels from the top instead of bottom.
To know more about anchors, read this tutorial, and everything will be clear to you:
http://bloggerstop.net/2009/01/how-to-link-different-parts-of-same-web.html
Regards
This is the part of the code, that fixes the button on screen:
style="display:scroll;position:fixed;bottom:5px;right:5px;"
so you can see that display is scroll
position is fixed
now, simply change bottom:5px
to
top: 25px; (or any other value)
and also change right:5px;
to
left:5px;
and then change the url of the image.
okay, in that case
change
position: fixed;
to this:
position: absolute;
Well I couldn't get your question completely, but presently it is not showing up in your blog, because the code you are using is not positioned correctly, use this code instead:
<a style="display:fixed;position:absolute;top:5px;left:5px;" title="Welcome to Tommy's Club Penguin Cheats!"><img src="http://i35.tinypic.com/okv2v4.jpg"/></a>
and to add another image(at right side), use this code:
<a style="display:fixed;position:absolute;top:5px;right:5px;" title="Welcome to Tommy's Club Penguin Cheats!"><img src="http://NEW_IMAGE_ADDRESS.jpg"/></a>
In the a tag, simply put the href, like this:
<a href="http://TARGET_URL_ADDRESS.com" style="display:fixed;position:absolute;top:5px;left:5px;" title="Welcome to Tommy's Club Penguin Cheats!"><img src="http://i35.tinypic.com/okv2v4.jpg"/></a>
:D
THANKS
help,
working on ie but not firefox.
http://chihaw.blogspot.com/
Hi there,
I have checked your blog in IE, firefox and opera. It is working perfectly in all three browsers.
huh? weird..
maybe something's wrong with my browser.
thanks.
great job!. It works perfectly!.
You can check it on my blog:
thundaxsoftware.blogspot.com
thanks!
Thanks for the button to the top! Woks perfectly.
Thank you
just what my blog's needed :)
;) nice share
hey Divya..i want ur bloger back top Button its cool Button.please give me..it cord..it big help me..thanks..;)
how to make back to rop like this blog???
Allowed HTML tags: <b>, <i> and <a>
Join and share your views with other bloggers at BloggerStop Community
Comment Like This! and Optimize your blog...
SPAMMER OF THE MONTH: www[.]Seeking4Hosting[.]com