<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(window).scroll(function() {
if (jQuery('body').height() <= (jQuery(window).height() + jQuery(window).scrollTop())) {
jQuery('#followwidget').hide();
}else{
jQuery("#followwidget").show();
}
});
});
</script>
To make the div fade in/out please make the following replacements in the code:
1. Replace this line:
jQuery('#followwidget').hide();with this:
jQuery('#followwidget').fadeOut("slow");2. Replace this line:
jQuery("#followwidget").show();with this:
jQuery("#followwidget").fadeIn("slow");