jQuery Fading Slide Toggle - Can attach to an element and trigger a slideUp or slideDown, while fading in or out at the same time
Include the following files:
<script type="text/javascript" src="jquery-fadingslidetoggle.js"></script>
Then add this to initiate the fading slide toggle:
$(function(){
$('#clickedEl').fadingSlideToggle('#toggleEl');
});
Can also be seen at http://jsfiddle.net/gh/gist/jquery/1.10.1/6769183/
Copyright (c) 2013 Don Walter. Licensed under the MIT license.