Supp. Mobile Devices: +5000 worldwide • Hosted Sites: +8.000 • Served mobile pages & content: +1 Bill./month English | Deutsch 
- Back
Threads [ Previous | Next ]
Named Anchors
Named Anchors evolaris 3/28/08 10:39 AM
RE: Named Anchors webmaster 4/4/08 6:54 AM
Named Anchors | 3/28/08 10:39 AM
We would like to have named anchors to allow jumping within a page.
E.g. m.youtube.com provides such a feature, that shows a link to the menu at the top of the page whereas the menu itself is placed at the very bottom.

In HTML it would look something like that:

<a href="#menu">Menu</a>

... some page content ...

<a name="menu"></a>
... the menu ...
RE: Named Anchors | 4/4/08 6:54 AM as a reply to evolaris.
You can use the "anchor" attribute in any biscuit that supports a headline.

Example:

<ARTICLE>
<headline anchor="top">Top News!</headline>
<img src="news.jpg"/>
<richtext>article text</richtext>
</ARTICLE>

... and further down the same page:
<TEASER>
<img src="teaser"/>
<link href="#top">Back to top</link>
</TEASER>


Note that this currently only works inside a headline element. Any href-attribute can then contain the anchor link.