1jQuery(document).ready(function($) { 2"use strict"; 3 4 $('.carousel').elastislide({ 5 imageW : 100, 6 minItems : 2, 7 margin : 7 8 }); 9 10 $('.tabber-container').each(function() { 11 $(this).find(".tabber-content").hide(); //Hide all content 12 $(this).find("ul.mvp-col-tabs li.mvp-feat-col-tab").addClass("active").show(); //Activate first tab 13 $(this).find(".tabber-content:first").show(); //Show first tab content 14 }); 15 $(".mvp-score-nav-menu select").change(function(e) { 16 $(this).parents('.tabber-container').find(".tabber-content").hide(); //Hide all tab content 17 var activeTab = $(this).find("option:selected").val(); //Find the href attribute value to identify the active tab + content 18 $(this).parents('.tabber-container').find(activeTab).fadeIn(); //Fade in the active ID content 19 e.preventDefault(); 20 }); 21 $("ul.mvp-col-tabs li").on('click', function(e) { 22 $(this).parents('.tabber-container').find("ul.mvp-col-tabs li").removeClass("active"); //Remove any "active" class 23 $(this).addClass("active"); //Add "active" class to selected tab 24 $(this).parents('.tabber-container').find(".tabber-content").hide(); //Hide all tab content 25 var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content 26 $(this).parents('.tabber-container').find(activeTab).fadeIn(); //Fade in the active ID content 27 e.preventDefault(); 28 }); 29 $(".mvp-scores-menu select").change(function(e) { 30 $(this).parents('.tabber-container').find(".tabber-content").hide(); //Hide all tab content 31 var activeTab = $(this).find("option:selected").val(); //Find the href attribute value to identify the active tab + content 32 $(this).parents('.tabber-container').find(activeTab).fadeIn(); //Fade in the active ID content 33 e.preventDefault(); 34 }); 35 $("select.mvp-score-tabs option a").change(function(e) { 36 e.preventDefault(); 37 }) 38 39});
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.