The Vote button posts our votes to the HTML form. Clicking on any other hyper reference on the perl monks site does not trigger the form post method. That is the cgi parameters are not passed when clicking on links. I don't have an idea how we could do that. Maybe someone knows how to make it technically. We could add a javascript onClick() method on each hyper reference that we have on PM. But I don't think this is a feasible idea.
So then the answer is to make the form handler do what he suggested.
Adding a drop-down combo box with "This thread","Newest Nodes", "Front Page" next to the vote button (defaulting to "This thread" to keep current behaviour) would submit the selected combo box entry along with the votes when "Vote" is clicked.
The vote-handling code could then perform the requested redirection.
Of course, I'm suggesting all this in blissful ignorance of the code base :)
--
Mike
No, he's not talking about clicking on a link.. he's talking about having a pulldown menu next to the vote button that lets you select where you want to go after you vote.
While this is easy to implement at first, it leaves a usability bug for users who do not actually want to use it... (what should it be by default? the current node? the main section that node is in?) This probably can be specified in user settings but I think that it is too much trouble and, if accepted, will have a very low priority.
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.
While this is easy to implement at first, it leaves a usability bug for users who do not actually want to use it... (what should it be by default?
By default, it should perform exactly the way it currently does. Then you have an added feature at no cost to those who don't want it.
Believe nothing, no matter where you read it, or who said it - even if I have said it - unless it agrees with your own reason and your own common sense.
-- Buddha