Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perlmonks AJAX Voting

by aufflick (Deacon)
on Dec 17, 2007 at 01:31 UTC ( #657354=note: print w/ replies, xml ) Need Help??


in reply to Perlmonks AJAX Voting

Brilliant. I've been using the ajax voting for some time and it's nice to see the result again.

I added the following patch in the appropriate place so that the ++ and -- don't run together:

up_vote.innerHTML = "++"; voting_both.appendChild(up_vote); + + var spacer = document.createElement("span"); + spacer.innerHTML = " "; + voting_both.appendChild(spacer); var down_vote = document.createElement('a'); down_vote.setAttribute("href",'javascript:void(0);');


Comment on Re: Perlmonks AJAX Voting
Download Code
Replies are listed 'Best First'.
Re^2: Perlmonks AJAX Voting
by eric256 (Parson) on Dec 17, 2007 at 17:26 UTC

    Thanks for this patch, I've implemented it in the code here.


    ___________
    Eric Hodges

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-07-31 02:25 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 (274 votes), past polls