[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

   1  (function($) {
   2      $(document).ready( function() {
   3          $('.feature-slider a').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: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7