Posted by Sir Four at 10:32am Oct 13 '09
You must sign in to send Sir Four a message
You must sign in to send Sir Four a message
The "Tip" link is the result of me playing around with JQuery. It actually ajax-gets a unique key from the server when the link is clicked, then shows the tip options. If a tip is clicked, it hits the server up again with the amount, post ID and key. The server-side code only credits the tip if the key matches the one it sent, if the amount is an allowed value, and of course if the person has enough money. The server sends its response, which is then displayed for about a second and a half.