animate fade in, jQuery

jQuery(document).ready( function() {
    jQuery('a[href="#yes"]').click(function(){
      jQuery('.hidden').animate({opacity: 'toggle'}, 500, function() {
          // Animation complete.
        });
    })
  });
Advertisements