3/18/10

Back to top

Have you ever been looking at a blog and gotten to the bottom and then wished you could just click something to go back to the top? No? Maybe it's just me :)

Or maybe you have...

Maybe you'd even like to know how to put some sort of code onto your blog so that people can do that. Yes? Cool. That's what I'm going to tell you how to do today!

There are two different ways you can do it:

1. Adding a HTML/JavaScript gadget

If you have the choice to add a gadget to the bottom of your page then this is the easiest way to do it. The other way isn't hard so don't panic if you aren't able to do it this way!
  • Go to Layout
  • Add a gadget: HTML/JavaScript
  • Type in the following code leaving out the red parenthesis and changing the red words to your blogs URL:
(<)center>(<)a href="YOUR BLOG URL">Click here to go back to top of page (<)/a>(<)/center>
  • Place the gadget where you want it. Preview to make sure it looks right and then Save.
2. Editing your HTML and adding the code
  • Go to Layout
  • Edit HTML (it looks scary but it's really not...trust me :D ok?)
  • Look for the following code:

  • Add the code from above directly above that code that you just found. It will look something like this:
 

  • Preview to make sure it looks right and then Save Template.
All done! You now have a code on your page that will take people back to the top of the page when they click it. Easy wasn't it? :) Have a great day everyone!
post signature

2 of the people I love gave me love:

william said...

brilliant point, it is VERY annoying, I did mine ages ago, ur the tops babe xxxc

Doris Sturm said...

Thanks, Kathy - I have to try it when I get faster internet. I tried it today, but it takes my browser forever to load my page completely, I never got a chance to test it, so I guess, I'll just have to wait a while.

I hope you'll have a very nice day today. Looks like it's going to be sunny and I'm getting ready to walk the Gizz.

Bye for now and happy weekend!
Doris :-)

Post a Comment

I hope you have a beautiful day! ♥