W3C home > Mailing lists > Public > www-html@w3.org > August 2006

Re: Extending "Short" or "Shallow" Webpages to Effect Jumps to Anchors Within

From: magick <jasper.magick@gmail.com>
Date: Fri, 18 Aug 2006 13:16:27 -0400
To: www-html@w3.org
Message-id: <44E5F5EB.1000509@gmail.com>

> Surely there are many suggestions/alternatives to effect that heading
> appearing at the top of the window that might be entertained, even if
> ridiculous.

Add more to the document, simple as that.

> <a name="External_links" id="External_links"></a>

You didn't need to use <a> as the location where to jump to since HTML3
Starting in HTML4, you can use any element.
Also, the name attribute was replaced with the id attribute, so name 
isn't even needed in the above.

> to the heading
> *External links*
> is mid-page rather than at top because there isn't enough page following the
> heading.

Again, add more content, don't be lazy.

Here's an example.

<a href="#links">Jump to the links</a>

<p id="links">Here are the links<br />
Lots of links here</p>

As long as the content is enough that it deems the "here are the links" 
text to be at the top of the window, then it will be.  Otherwise it 
won't.  I don't understand what you're complaining about.  I see nothing 
wrong with the current way bookmark anchors behave with a web document.
Received on Friday, 18 August 2006 17:17:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:13 UTC