You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Dave Brondsema <da...@brondsema.net> on 2004/01/21 16:12:13 UTC
intrapage linking
I want to link directly to specific sections of a page. I see that an
anchor is already created for each section, using it's title. There is
also one right before it with an id number, like N10013. Also, I can
specify id="some-val" as a section attribute and then an anchor with name
"some-val" is created. Is this last way the best way to do it? Does this
id->anchor conversion work for all elements, or just sections?
--
Dave Brondsema
dave@brondsema.net
http://www.brondsema.net - personal
http://www.splike.com - programming
http://csx.calvin.edu - Calvin club
Re: intrapage linking
Posted by David Crossley <cr...@indexgeo.com.au>.
Dave Brondsema wrote:
> I want to link directly to specific sections of a page. I see that an
> anchor is already created for each section, using it's title. There is
> also one right before it with an id number, like N10013. Also, I can
> specify id="some-val" as a section attribute and then an anchor with name
> "some-val" is created. Is this last way the best way to do it?
I think so. The other two methods seem not as good to me
as they change when the document is edited, which makes
them ineffective.
> Does this
> id->anchor conversion work for all elements, or just sections?
I just tried an experiment by putting an "id" attr on both li
and link elements and it worked. Not yet looked at the stylesheets.
--David