OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Deep link anchor for HTML headings with docbook-xsl


Dears,

I'm probably not the first one who would like a "deep link" icon
after HTML headings (and maybe figure and table titles, too).

In some wikis (here: Trac) it's implemented like this:

    <h2 class="section" id="Something">
        Something
        <a class="anchor" href="#Something"
            title="Link to this section"> Â</a>
    </h2>

The paragraph symbol is typically hidden and only visible when
hovering:

    * > .anchor:link, * > .anchor:visited {
        visibility: hidden;
    }

    h1:hover .anchor, h2:hover .anchor, h3:hover .anchor,
    h4:hover .anchor, h5:hover .anchor, h6:hover .anchor,
    span:hover .anchor {
        visibility: visible;
    }

Has someone already created an XSL template to get the same
effect with DocBook and can share it here?

Thank you!

Martin




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]