[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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 : Thu Apr 18 08:20:02 2024 Cross-referenced by PHPXref