Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('.toggleMeta').click(function() {
- var $postMeta = $(this).prev().find('div.post-meta');
- if($postMeta.is(":visible")) {
- $postMeta.fadeOut(500);
- $postMeta.css("backgroundImage", "url(images/plus.png)"); }
- else {
- $postMeta.fadeIn(500);
- $postMeta.css("backgroundImage", "url(images/minus.png)"); }
- });
- });
Add Comment
Please, Sign In to add comment