2011-04-28 20:19:02 -04:00
|
|
|
(function($) {
|
|
|
|
$(document).ready( function() {
|
2021-01-22 07:32:03 -05:00
|
|
|
$('.feature-slider a').on( 'click', function(e) {
|
2011-04-28 20:19:02 -04:00
|
|
|
$('.featured-posts section.featured-post').css({
|
|
|
|
opacity: 0,
|
|
|
|
visibility: 'hidden'
|
|
|
|
});
|
|
|
|
$(this.hash).css({
|
|
|
|
opacity: 1,
|
|
|
|
visibility: 'visible'
|
|
|
|
});
|
|
|
|
$('.feature-slider a').removeClass('active');
|
|
|
|
$(this).addClass('active');
|
|
|
|
e.preventDefault();
|
|
|
|
});
|
|
|
|
});
|
2021-01-22 07:32:03 -05:00
|
|
|
})(jQuery);
|