Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

vote link to the right of messages

by Danny (Chaplain)
on Dec 20, 2024 at 09:41 UTC ( [id://11163271]=monkdiscuss: print w/replies, xml ) Need Help??

It might be nice to have a [vote] link to the right of each message where [reply], [/msg], etc are; there is plenty of space for it. That way you never have to scroll to the bottom to vote.

Replies are listed 'Best First'.
Re: vote link to the right of messages
by pryrt (Abbot) on Dec 20, 2024 at 14:02 UTC
Re: vote link to the right of messages
by choroba (Cardinal) on Dec 20, 2024 at 09:55 UTC
    I never scroll. I just select the radio buttons and hit Enter on my keyboard.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re: vote link to the right of messages
by harangzsolt33 (Deacon) on Dec 20, 2024 at 15:14 UTC
    The way this works isn't very efficient in my opinion, because everytime people hit "Vote" the ENTIRE page is downloaded again. Wouldn't it be easier if there was a plus and minus button, and when you clicked either one of those, the page would just load a tiny gif image, which is only 34 bytes, but it would send some sort of code to the server to let it know that XYZ individual has voted up or down. This would be easier than having to reload the whole page. Just a design issue.
      As the whole system works without JavaScript, this isn't possible at all. The only way how to send data to the server is via a submitted form or query parameters, which both mean reload of the page.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        Or an iframe for each vote region of the page :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11163271]
Approved by choroba
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2025-02-14 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found