1jQuery(document).ready(function($) { 2 /* jQuery UI accordion list */ 3 jQuery( ".jquery-ui-accordion" ).accordion({ 4 header: "h3.header", 5 collapsible: true, 6 heightStyle: "content" 7 }); 8 9 /* 10 * Make sure that jQuery UI Tab content containers have correct IDs based on tablist links 11 */ 12 var i = 0; 13 // get all tablist a elements 14 jQuery('.jquery-ui-tabs>.tablist a').each(function() { 15 // get href attribute of current link and remove leading # 16 var tab_id = jQuery(this).attr('href'); 17 tab_id = tab_id.substring(1, tab_id.length); 18 // get corresponding tab container 19 var tab = jQuery('.jquery-ui-tabs .tab-content').eq(i); 20 // set ID of tab container 21 tab.attr('id', tab_id); 22 23 // increment item count 24 i = i + 1; 25 }); 26 27 /* 28 * Acivate Tabs 29 */ 30 jQuery('.jquery-ui-tabs').tabs({ 31 collapsible: true, 32 }); 33 jQuery(".jquery-ui-tabs>.tablist").css("display", "block"); 34 jQuery(".jquery-ui-tab>.header").css("display", "none"); 35 jQuery(".jquery-ui-tabs .tab-header").css("display", "none"); 36}); 37 38var Leaguemanager = new Object(); 39 40Leaguemanager.setMatchBox = function( requestURL, curr_index, operation, element, league_id, match_limit, widget_number, season, group, home_only, date_format ) { 41 var ajax = new sack(requestURL); 42 ajax.execute = 1; 43 ajax.method = 'POST'; 44 ajax.setVar( "action", "leaguemanager_get_match_box" ); 45 ajax.setVar( "widget_number", widget_number ); 46 ajax.setVar( "current", curr_index ); 47 ajax.setVar( "season", season ); 48 ajax.setVar( "group", group ); 49 ajax.setVar( "operation", operation ); 50 ajax.setVar( "element", element ); 51 ajax.setVar( "league_id", league_id ); 52 ajax.setVar( "match_limit", match_limit ); 53 ajax.setVar( "home_only", home_only ); 54 ajax.setVar( "date_format", date_format ); 55 ajax.onError = function() { alert('Ajax error'); }; 56 ajax.onCompletion = function() { return true; }; 57 ajax.runAJAX(); 58}
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.