From a2cfdaaec5666a08af864ebad8133e18d7cbbcb3 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 31 Mar 2007 08:48:10 +0000 Subject: * Hide excess backlinks and expand using CSS trick; control quantiy via the numbacklinks setting. --- doc/style.css | 9 +++++++-- doc/usage.mdwn | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/style.css b/doc/style.css index af460dd0d..0a37e55aa 100644 --- a/doc/style.css +++ b/doc/style.css @@ -239,13 +239,14 @@ input#openid_url { width: 25% } -/* Used by the popup template. */ +/* Used by the popup template and for backlinks hiding. */ .popup { border-bottom: 1px dotted #366; color: #366; } .popup .balloon, -.popup .paren { +.popup .paren, +.popup .expand { display: none; } .popup:hover .balloon, @@ -261,3 +262,7 @@ input#openid_url { -moz-opacity: 0.95; filter: alpha(opacity=95); } +.popup:hover .expand, +.popup:focus .expand { + display: inline; +} diff --git a/doc/usage.mdwn b/doc/usage.mdwn index bb6f06aea..4ccd6bf44 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -233,6 +233,11 @@ configuration options of their own. Enables or disables "Discussion" links from being added to the header of every page. The links are enabled by default. +* --numbacklinks n + + Controls how many backlinks should be displayed maximum. Excess backlinks + will be hidden in a popup. Default is 10. + * --userdir subdir Optionally, allows links to users of the wiki to link to pages inside a -- cgit v1.2.3