PDA

View Full Version : "Back to Top"



maria1099
09-08-2007, 08:21 PM
Is there an HTML code for "Back to Top" that can be displayed on every page? I know I can create an image & link it to home for page 1, but after that page #, I want it to go to the top of THAT particular page and not home. Makes sense? Bottom of page 4 & back to home = top of page 4.

Maria

Dirty Butter
09-08-2007, 09:50 PM
Here's the code from one of my website pages, which you might be able to use as a pattern.

This is the place I have it set to jump back to at the top.


<a name="SHOP WITH US">SHOP WITH US</a> These words are at the top of that page.

Here's the code for Top to get it to do that.


Top (#SHOP%20WITH%20US)

I'm wondering if it would work if you used Page as the word to use in the code.

Interesting idea, and if you figure it out, I would like to copy what you end up with.

Dirty Butter
09-08-2007, 10:18 PM
No, I don't think Page would be a word you could use, as you don't have that word in your own code. It needs to be something you have added to the Header wording. For instance, I have Welcome to at the very top of my page, so I could use that as the bookmark.

Hey, it worked!! Great idea you had!! To see it in action,

BLOG VILLAGE (http://blogvillage.gotop100.com)

maria1099
09-08-2007, 11:40 PM
I figured it out!

You have to put <a name="#1"> in the header text and then at the footer put (image or font) (#1). Since I have the same image in the header on all pages, this should work...although I'm not past page 1 yet. LOL!!

Here it is on mine...

http://b3boutique.gotop100.com/#1

Maria

maria1099
09-08-2007, 11:41 PM
BTW, the number can change as long as you reference the correct # in the footer.

maria1099
09-08-2007, 11:42 PM
Sorry...

http://b3boutique.gotop100.com/

Dirty Butter
09-08-2007, 11:48 PM
Works just fine, even with my 26 pages, so yours should be fine as you grow, too. Thanks for the idea!!

maria1099
09-08-2007, 11:52 PM
You're welcome. :)