Permalink
Browse files

more jQuery: highlighting posts on hover

  • Loading branch information...
1 parent 6d280af commit 9d24f83512ee4fe38b5442d9aa86a152606d9648 @garu garu committed Jun 14, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 tweetylicious.pl
View
@@ -483,5 +483,11 @@ package main;
}
$("#charsleft").text( left + ' characters left' );
});
+
+ // highlighting selection
+ $("#content ul.messages li").hover(
+ function() { $(this).animate( {backgroundColor:'#ded'}, 400 ); },
+ function() { $(this).animate( {backgroundColor:'#efe'}, 400 ); }
+ );
});

0 comments on commit 9d24f83

Please sign in to comment.