1jQuery(document).ready(function(){ 2 3 // UL = .wooTabs 4 // Tab contents = .inside 5 6 var tag_cloud_class = '#tagcloud'; 7 8 //Fix for tag clouds - unexpected height before .hide() 9 var tag_cloud_height = jQuery('#tagcloud').height(); 10 11 jQuery('.inside ul li:last-child').css('border-bottom','0px'); // remove last border-bottom from list in tab content 12 jQuery('.wooTabs').each(function(){ 13 jQuery(this).children('li').children('a:first').addClass('selected'); // Add .selected class to first tab on load 14 }); 15 jQuery('.inside > *').hide(); 16 jQuery('.inside > *:first-child').show(); 17 18 jQuery('.wooTabs li a').click(function(evt){ // Init Click funtion on Tabs 19 20 var clicked_tab_ref = jQuery(this).attr('href'); // Strore Href value 21 22 jQuery(this).parent().parent().children('li').children('a').removeClass('selected'); //Remove selected from all tabs 23 jQuery(this).addClass('selected'); 24 jQuery(this).parent().parent().parent().children('.inside').children('*').hide(); 25 26 jQuery('.inside ' + clicked_tab_ref).fadeIn(500); 27 28 evt.preventDefault(); 29 30 }) 31})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.