Return to Snippet

Revision: 67834
at October 31, 2014 02:14 by madebycrunch


Initial Code
$('.tabbed .panes .pane').hide();
$('.tabbed nav ul li a').on('click', function(e){
    $('.tabbed nav ul li a.active').removeClass('active');
    $('.tabbed .panes .pane:visible').hide();
    $(this.hash).show();
    $(this).addClass('active');
    e.preventDefault();
}).filter(':first').click();

Initial URL

                                

Initial Description
jQuery - Page Component - Tabbed

Initial Title
jQuery - Page Component - Tabbed

Initial Tags

                                

Initial Language
jQuery