|
| |
|
|
d a v e
Posts: 3935 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
back to top link - 2/26/2008 16:50:41
embarrassingly enough i never realised that this was the best way to make a 'back to the top' link to go back to the top of a page... (courtesy of this thread: http://www.webmaster-talk.com/html-forum/115858-return-to-top-html-code.html ) i always used the old 'name' way when it's so much easier to simply place, for example, <a href="#wrapper">top</a> and target an existing id at the top of your page or simply add an id to any existing element at the very top of the page ;)
_____________________________
David Prescott Gekko web design
|
|
|
|
Starhugger
Posts: 489 Joined: 4/12/2005 Status: offline
|
RE: back to top link - 2/28/2008 17:27:03
I've mostly just used < a href="#" > using a linked up-arrow GIF, but lately I've wondered about something else. So much material gets copied into pages in MySpace, etc., and they so often wind up snaring linked graphics which use my own bandwidth. I've never been able to find a way to trace which MySpace page they're coming from. At any rate, I was thinking that if I were to include the address of the page in the href address, a click on those up-arrows would at least take them back to my site. I might even benefit from the back-link, although I doubt the Big-G would consider it a quality link. <shrug> More trouble than it's worth maybe. Starhugger
|
|
|
|
Starhugger
Posts: 489 Joined: 4/12/2005 Status: offline
|
RE: back to top link - 2/29/2008 12:10:01
I used to do that too, but I found that even when I put the anchor at the top of the Header, it would take it up but drop it down slightly from the very top of the page. Maybe that's because I'm using a FrontPage theme and I couldn't get at the raw code (not without digging around in the hidden files, anyway). When I discovered that just "#" would do the same, I started using that instead. Starhugger
|
|
|
|
Starhugger
Posts: 489 Joined: 4/12/2005 Status: offline
|
RE: back to top link - 3/4/2008 11:26:32
quote:
ORIGINAL: Donkey I read somewhere that it is better to link to a word rather than an empty anchor. That's interesting. I'd like to find out more about that. Any idea where you read it, or what context it was in? quote:
I always make the anchor the first thing inside the <body> tag, above the container and above any skip links. It works for me. That won't work if you're using a FrontPage theme. With FP, it will only take you to the top of the content, not the top of the page header. Even when I've tried putting the tag into the top-most point I could get to in the header (by placing the cursor directly into the header and then inserting HTML code through a FP Web Component), it still lands about one line down from the top of the page. SH
|
|
|
|
caz
Posts: 3431 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: back to top link - 3/4/2008 13:48:01
Sometimes returning to the top of the content makes more sense to the reader, especially if you have good content and a decorative only header.
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
Starhugger
Posts: 489 Joined: 4/12/2005 Status: offline
|
RE: back to top link - 3/4/2008 13:50:36
quote:
ORIGINAL: caz Sometimes returning to the top of the content makes more sense to the reader, especially if you have good content and a decorative only header. In my case, I have my navigation there too. SH
|
|
|
|
caz
Posts: 3431 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: back to top link - 3/4/2008 18:36:52
I do too - skip links that is and as the content anchor is already defined then that's where the back-to-top links lead to if needed. Of course if your navigation is not visible like that then you must do otherwise.
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|