Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Voting history (begun)

by Tanktalus (Canon)
on Dec 02, 2008 at 00:14 UTC ( #727260=note: print w/ replies, xml ) Need Help??


in reply to Re: Voting history (begun)
in thread Voting history

Suggestions:

  • Use ++ and -- instead of +1 and -1. Makes it a bit easier to read. Those rare -1's will stand out more since they'll be more drastically different from the +1's.
  • Use alternating classes, like we do for the CB, node lists for users, etc., so that CSS can do something to make it easier to read.
  • I think we can put in multiple classes (when separated by spaces) - so maybe using another class for ++ vs -- tr's and td's to allow CSS to highlight (or fade out) ++'s or --'s
For example,
<tr class="odd-row voteup"><td><a href="?node_id=12345">blah</a></td> <td align="center" class="voteup">++</td> <td align="right">some-date</td></tr> <tr class="even-row votedown"><td><a href="?node_id=12346">blah</a></t +d> <td align="center" class="votedown">--</td> <td align="right">some-date</td></tr>
Opinions?


Comment on Re^2: Voting history (begun)
Download Code
Re^3: Voting (ancient) history
by tye (Cardinal) on Jun 20, 2012 at 20:51 UTC

    Years later...

    I played around (years ago) with different combinations of '+'s and '-'s and such and settled on '1' for "up" and '-1' for "down" as having the best over-all visual aspects.

    I implemented the candy striping.

    I did not implement classes for "up" vs "down". Perhaps part of the reason was that old versions of IE choked on space-separated class names. We can probably stop caring about that now.

    But I think I'll (instead) eventually add "only show up-votes" and "only show down-votes" inputs and maybe stop forcing people to type in "100,500" for paging (while still allowing similar power).

    I also particularly like cmv's idea of teaching super search to allow restricting results based on voting.

    - tye        

      tye,

      You did a good job of confusing the he** out of me, until I noticed the dates.

      Until today, I didn't realize RAT could resurrect Nodes from the past! ++

      Thank you

      "Well done is better than well said." - Benjamin Franklin

      Hello tye,

      First, I must apologize for contacting you this way. I just haven't had a problem like this before at PM, and I don't know how to handle it. I searched on it, but didn't find anything appropriate. I was going to use a private message, but I don't think you can review the message. Anyway here goes.


      A few days ago I received a response message from jim about a post I did earlier in the year. The whole thing went wrong when I didn't realize that tchrist was Tom Christiansen until he identified himself as the author of the article I was asking about.

      Usually I wait some time before answering, but I immediately answered jim hoping to clarify my intentions in asking the original question, but it seems I've only made things worse.

      Immediately my post was answered by an "Anonymous Monk" and I immediately answered him.

      So the next day I re-read the entire post again, and I realize the AM quoted me in his post and now I think it looks like I answered myself with an 'ad' type post. I enjoy PM too much to take a cheap shot like that. I always login before even looking at anything.

      The AM post is here

      Is there a way to at least show that I didn't post that response. If you can point me to a procedure, I'll be glad to follow whatever is required. The AM is entitled to his opinion, I just want s/he to take credit for it. If you don't think it matters, then I'll leave it at that.

      I think I'd better go back to waiting some time before answering.

      Thank you...Ed

      "Well done is better than well said." - Benjamin Franklin

        On the internet, nobody knows you're not a dog.

        There are ways to determine that somebody on the internet is "you" (or is coordinating with you). There really isn't any way to determine that somebody on the internet is not "you".

        So, yes, PerlMonks has no procedures defined for doing the impossible.

        - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://727260]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-12-18 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (67 votes), past polls