Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

"Nodes To Consider" - Hide Nodes Already Voted (CSS)

by Perlbotics (Canon)
on Mar 14, 2010 at 21:55 UTC ( #828610=monkdiscuss: print w/ replies, xml ) Need Help??

Dear Monks,

I regularly visit the Nodes to consider (NTC) page and vote - which sometimes involves a lot of scrolling and re-parsing.

The following few lines of CSS added to the On-Site CSS Markup text area of the Display Settings nodelet helped me to get a somewhat clearer overview by hiding the bodies of those nodes, I've already voted in the past.

In the hope, that some might find it useful too - here are the CSS alternatives for completely or partially hiding NTC nodes already dealt with:

/* Nodes To Consider (id:28877): Completely hide nodes that you have voted in the past. */ tr.ntc-body.ntc-voted, tr.ntc-head.ntc-voted { display: none }
/* Nodes To Consider (id:28877): Hide bodies of voted nodes only. Authorship, consideration information, and voting results still v +isible. */ tr.ntc-body.ntc-voted ul { display: none }

Personally, I prefer the latter option (both checked with Opera and Firefox).

Comment on "Nodes To Consider" - Hide Nodes Already Voted (CSS)
Select or Download Code
Replies are listed 'Best First'.
Re: "Nodes To Consider" - Hide Nodes Already Voted (CSS)
by Hue-Bond (Priest) on Mar 15, 2010 at 08:59 UTC

    Nice! I chose to use the first version. Thanks!

    --
     David Serrano
     (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).

Re: "Nodes To Consider" - Hide Nodes Already Voted (CSS)
by Argel (Prior) on Mar 15, 2010 at 18:36 UTC
    Pretty slick! I went with the second one. Thanks!!

    Elda Taluta; Sarks Sark; Ark Arks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://828610]
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2015-07-28 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls