Using .NET, mootools/JavaScript.
I want to create a trophy mechanism similar to SO's badges. So when a user recieves a trophy, a small fading DIV will appear at the top of his page. Problem is, I need to keep checking against my DB if the user recieved a new trophy or not.
How would you approach it? Would love to get code samples if you did something similar.