When you win a badge in this page a bar with information appears on top. I think is jquery but anybody knows all the code and the implementation? Thank.
views:
151answers:
2
+2
A:
I just used a div that's hidden and has a margin-top equal to the information bar's height until I want to trigger it. Then I just animate jQuery's show and animate() to change the margin-top to 0. Alternately, you could just have it hidden and use slideDown(), but I prefer the animate() effect more.
Andy Baird
2010-08-20 02:48:04