Go To Top URL on every heading
If you look at
http://perl.apache.org/embperl/pod/intro/IntroEmbperlObject.-page-1-.htm#sect_1
you will see that at the right hand side of the heading there is a link that takes you to the top of the page.
With the introduction of the
PatternSkin, we now have a 'go to end" at the top of the page and a "go to top" at the end of the page. Pesonally I've found this very useful So much so, in fact, that I long for more of the same.
I note that the Apache EmbedPerl site isn't using a
HTML H1 or H2 to acheive this.
Could a similar thing be done for
PatternSkin just with
CSS or would it require modification to the render engine?
Or perhaps another plugin?
--
AntonAylward - 17 Nov 2004
use
for where you want to specify a "jump to" location; use
to create a link which jumps to it. is that what your asking about? or something more?
--
WillNorris - 17 Nov 2004
I know about targets in hyperlinks. You crafted that by hand. Most of my users are nowhere near as sophisticated. They just fill in the text with very basic formatting & markup. Asking them to do
HTML as well ... no way!
What I was talking about was the
automatic generation of such links, and only at the header points.
--
AntonAylward - 17 Nov 2004
I think Anton means he'd like "to top" to appear next to every heading except the first.
--
MartinCleaver - 17 Nov 2004
Martin is right.
The pattern skin has heading which have coloured bars all the way across, just like the Apache Embperl site I referred to above.
Perhaps
http://perl.apache.org/embperl/pod/doc/Config.-page-1-.htm#sect_2
is a better example as it has lots of headings. Look at the right hand side of the blue lines.
--
AntonAylward - 17 Nov 2004