Modify

Opened 20 months ago

Last modified 20 months ago

#10746 new defect

Different class for backlinks

Reported by: vesal@… Owned by: rjollos
Priority: normal Component: BackLinksMacro
Severity: normal Keywords: print, class
Cc: Trac Release: 1.0

Description

I like to have something that separates this from ordinary wiki-toc
either a subclass or so that one can send class as an optional parameter.

That way I could make a hover-style to show the links only when user
wants to see them. And hide totally from print. Normal wiki-toc
I like to print.

Attachments (0)

Change History (4)

comment:1 Changed 20 months ago by rjollos

  • Component changed from BackLinksMenuMacro to BackLinksMacro

Did you see the deprecation notice on the main page, BackLinksMenuMacro? I can't remember if I finished work on the BackLinksMacro, but the intent was to offer similar functionality. Would you be willing to give it a try? I'll try to find some time today to do testing as well.

comment:2 Changed 20 months ago by rjollos

  • Owner changed from trapanator to rjollos

And, I'd welcome a patch, or just piece of CSS inserted into the ticket, to suggest which change should be made.

comment:3 Changed 20 months ago by anonymous

I can switch to BackLinks if needed :-)

could it be so that

[[BackLinks]]

outputs like now:

<div class="wiki-toc">Pages linking to k2013/demot:<br />

and

[[BackLinks wiki-toc-noprint]]

outputs like now:

<div class="wiki-toc-noprint">Pages linking to k2013/demot:<br />

and in css one could write:

@media print { 
.wiki-toc-noprint {
  display none;
 } 
}

Or any other idea to do same thing is also welcome.

comment:4 Changed 20 months ago by anonymous

In previous example
i needed to leave : after display-word, because otherwise it told
me that it is spam...

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.