- $(".post").live('hover',function () { // etc..
will bind the 'hover' event to this and any future elements of class 'post', so you shouldn't have to keep re-binding
the events.
- $('.posts:first-child')
will select all first-child elements for the class 'post' (as you are using prepend()).
- $('.posts:first-child').addClass('newPosts');
- you could use this after the prepend() so all the newly added items with have this class for later reference.
If these aren't helpful then we probably need a little more clarification. Andy.
(post or posts ??)