[ 
https://issues.apache.org/jira/browse/JSPWIKI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642612#action_12642612
 ] 

Dirk Frederickx commented on JSPWIKI-288:
-----------------------------------------

Implementation suggestion:

A section title 

{code:xml} 
<h4 id="section-PAGEx-TitleX">Title X</h4>
{code} 

should be encoded as :

{code:xml} 
<h4 id="section-PAGEx-TitleX">Title X <a clas="hashlink" 
href="#section-PAGEx-TitleX">#</a></h4>
{code} 

and following CSS should be added:

{code:css} 
/* hashlink */
a.hashlink {
        color:transparent;
        line-height:1.2;
        padding:0.25em;
        text-decoration:none;
}
a.hashlink:hover {
        background-color:#eee;
        color:blue;
}
{code} 




> direct links to sections
> ------------------------
>
>                 Key: JSPWIKI-288
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-288
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Core & storage
>            Reporter: Christian Helmbold
>             Fix For: 2.8.1
>
>
> A visitor of a JSPWiki site can not create links to sections easily as long 
> as there is no table of contents on the page. Near each subheadline should be 
> a link to create an URL to the related section.
> See http://wiki.python.de/ (powered by MoinMoin) and point at the section 
> headlines, to see what i mean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to