[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyeleven/js/ -> showcase.js (source)

   1  (function($) {
   2      $( function() {
   3          $('.feature-slider a').on( 'click', function(e) {
   4              $('.featured-posts section.featured-post').css({
   5                  opacity: 0,
   6                  visibility: 'hidden'
   7              });
   8              $(this.hash).css({
   9                  opacity: 1,
  10                  visibility: 'visible'
  11              });
  12              $('.feature-slider a').removeClass('active');
  13              $(this).addClass('active');
  14              e.preventDefault();
  15          });
  16      } );
  17  })(jQuery);


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1