diff --git a/docs/index.css b/docs/index.css index a24998984c15d4e67485bbcbe183c4200cf0bc12..82d606b703ca8104aa0a828b2ce986f8ed0cb800 100644 --- a/docs/index.css +++ b/docs/index.css @@ -50,18 +50,11 @@ h3 { margin-left: 20px; } -a, li span { - color: #2194CE; -} - a { + color: #2194CE; text-decoration: none; } -li span { - cursor: pointer; -} - #panel { position: fixed; left: 0px; diff --git a/docs/index.html b/docs/index.html index 1ed7bdd245f16f8d3aae4fc3fff790b2c2a021a0..f1eaeab893c085b575e8835291282e4ce1a349c9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -125,7 +125,11 @@ var pageURL = pages[ pageName ]; var listElement = createAndAppendDOMElement( { type: 'li', parent: categoryContent } ); - var linkElement = createAndAppendDOMElement( { type: 'span', parent: listElement, content: pageName } ); + var linkElement = createAndAppendDOMElement( { type: 'a', parent: listElement, content: pageName } ); + + // The href attribute is only used for the option to create a new tab by right click + + linkElement.setAttribute( 'href', '#' + pageURL ); addClickHandlers( linkElement, pageURL );