To recreate the MFL History Tabs using this method , verse its current sprytabs format , here is the code
<script type="text/javascript"> //CHANGE HISTORY ID TO MATCH YOUR MFL HISTORY URL var mflHistoryId = 470; //SET BASE URL FOR MFLHISTORY - do not touch function getHistoryUrl(recordType) { var url = 'http://www.mflhistory.com/leaguehistory.php?id=' + mflHistoryId; if (recordType !== undefined) url += '&recordtype=' + recordType; return url; } $(document).ready(function () { //GET ADMIN LINK FROM MFL HISTORY $.get(getHistoryUrl(), function (data) { var adminLink = $(data).find('td.leaguehistorywelcome a').attr('href'); $('#admin').append('<a href="http://www.mflhistory.com/' + adminLink + '" target="blank">Admin Menu</a>'); }); $.get(getHistoryUrl('game'), function (data) { $(data).find('.leaguehistorymodule').appendTo('#mfl-singlegame'); styleResult(); }); $.get(getHistoryUrl('season'), function (data) { $(data).find('.leaguehistorymodule ').appendTo('#mfl-singleseason'); styleResult(); }); $.get(getHistoryUrl('career'), function (data) { $(data).find('.leaguehistorymodule').appendTo('#mfl-career'); styleResult(); }); $.get(getHistoryUrl('playoffs'), function (data) { $(data).find('.leaguehistorymodule').appendTo('#mfl-postseason'); styleResult(); }); $.get(getHistoryUrl('milestone'), function (data) { $(data).find('.leaguehistorymodule').appendTo('#mfl-milestones'); styleResult(); }); $.get(getHistoryUrl('player'), function (data) { $(data).find('input , select , .leaguehistorymodule').appendTo('#mfl-players'); $('#mfl-players input[name=SubmitRecord]').hide(); bindPlayerMenu(); styleResult(); }); $.get(getHistoryUrl('standings'), function (data) { $(data).find('#standings_seasonmenu, .leaguehistorymodule').appendTo('#mfl-standings'); bindStandingsLinks(); styleResult(); }); $.get(getHistoryUrl('team'), function (data) { $(data).find('form , .leaguehistorymodule').appendTo('#mfl-teampages'); $('#mfl-teampages input[name=TeamSubmit]').hide(); styleResult(); $('#mfl-teampages select[name=team]').change(function () { $.ajax({ type: 'GET', url: 'http://www.mflhistory.com/leaguehistory.php?id=' + mflHistoryId + '&recordtype=team&team=' + $(this).val(), data: { SubmitRecord: 'Go' } }).done(function (data) { var teamData = $(data).find('.leaguehistorymodule'); $('#mfl-teampages .leaguehistorymodule').remove(); $('#mfl-teampages').append(teamData); styleResult(); }); }); }); $.get(getHistoryUrl('gamecenter'), function (data) { $(data).find('#gamecenter_seasonmenu, #gamecenter_weekmenu , .leaguehistorymodule').appendTo('#mfl-gamecenter'); bindYearMenu(); bindWeekMenu(); styleResult(); }); }); function styleResult() { $('.leaguehistorymodule .homepagemodule').addClass('report'); $('.leaguehistorymodule .homepagemodule caption').each(function () { $(this).html('<span>' + $(this).text() + '</span>'); $('.newalign div .leaguehistorymodule:nth-of-type(odd)').addClass("column-left"); $('.newalign div .leaguehistorymodule:nth-of-type(even)').addClass("column-right"); }); } function bindPlayerMenu() { $('#mfl-players select[name=recordid]').change(function () { var recordId = $(this).val(); $.ajax({ type: 'POST', url: 'http://www.mflhistory.com/leaguehistory.php?id=' + mflHistoryId, data: { recordid: recordId, recordtype: 'player', SubmitRecord: 'Go' } }).done(function (data) { var playerData = $(data).find('select, .leaguehistorymodule'); $('#mfl-players select, #mfl-players .leaguehistorymodule').remove(); $('#mfl-players').append(playerData); bindPlayerMenu(); bindPositionMenu(); styleResult(); }); }); } function bindPositionMenu() { $('#mfl-players select[name=positionid]').change(function () { var recordId = $('#mfl-players select[name=recordid]').val(); var positionId = $(this).val(); $.ajax({ type: 'POST', url: 'http://www.mflhistory.com/leaguehistory.php?id=' + mflHistoryId, data: { positionid: positionId, recordid: recordId, recordtype: 'player', SubmitRecord: 'Go' } }).done(function (data) { var positionData = $(data).find('#positionid, .leaguehistorymodule'); $('#mfl-players #positionid, #mfl-players .leaguehistorymodule').remove(); $('#mfl-players').append(positionData); bindPositionMenu(); styleResult(); }); }); } function bindStandingsLinks() { $('#mfl-standings a').unbind().click(function () { var link = $(this).attr('href'); $.ajax({ type: 'GET', url: 'http://www.mflhistory.com/' + link }).done(function (data) { var standingsData = $(data).find('#standings_seasonmenu, .leaguehistorymodule'); $('#mfl-standings #standings_seasonmenu, #mfl-standings .leaguehistorymodule').remove(); $('#mfl-standings').append(standingsData); bindStandingsLinks(); styleResult(); }); return false; }); } function bindYearMenu() { $('#mfl-gamecenter #gamecenter_seasonmenu a').unbind().click(function () { var link = $(this).attr('href'); $.ajax({ type: 'GET', url: 'http://www.mflhistory.com/' + link }).done(function (data) { var gamecenterData = $(data).find('#gamecenter_seasonmenu, #gamecenter_weekmenu, .leaguehistorymodule'); $('#mfl-gamecenter #gamecenter_seasonmenu, #mfl-gamecenter #gamecenter_weekmenu, #mfl-gamecenter .leaguehistorymodule').remove(); $('#mfl-gamecenter').append(gamecenterData); bindYearMenu(); bindWeekMenu(); styleResult(); }); return false; }); } function bindWeekMenu() { $('#mfl-gamecenter #gamecenter_weekmenu a').unbind().click(function () { var link = $(this).attr('href'); $.ajax({ type: 'GET', url: 'http://www.mflhistory.com/' + link }).done(function (data) { var gamecenterData = $(data).find('#gamecenter_weekmenu, .leaguehistorymodule'); $('#mfl-gamecenter #gamecenter_weekmenu, #mfl-gamecenter .leaguehistorymodule').remove(); $('#mfl-gamecenter').append(gamecenterData); bindWeekMenu(); styleResult(); }); return false; }); } </script> <!------------------------------------- HISTORY TABS --------------------------------------> <div id="mflhistory"> <div id="admin"></div> <!----- ADD CAPTION AND WRAP TABS AND CONTENT IN TABLE TO MATCH SITE ------> <table id="custom-reports" class="mflhistorytabs report"><caption><span>MFL HISTORY</span></caption> <tbody><tr><td> <!----- TABBED REPORT NAVIGATION ------> <ul class="tabbed-reports"> <li class="report961 current">Single Game</li> <li class="report962">Single Season</li> <li class="report963">Career</li> <li class="report964">PostSeason</li> <li class="report965">Milestones</li> <li class="report966">Players</li> <li class="report967">Standings</li> <li class="report968">Team Pages</li> <li class="report969">Game Center</li> </ul> <!----- TABBED REPORTS CONTENT ------> <div class="reports-content"> <div class="report961"><div id="mfl-singlegame"></div></div> <div class="report962" style="display:none;"><div id="mfl-singleseason"></div></div> <div class="report963" style="display:none;"><div id="mfl-career"></div></div> <div class="report964" style="display:none;"><div id="mfl-postseason"></div></div> <div class="report965" style="display:none;"><div id="mfl-milestones"></div></div> <div class="report966" style="display:none;"><div id="mfl-players"></div></div> <div class="report967" style="display:none;"><div id="mfl-standings"></div></div> <div class="report968" style="display:none;"><div id="mfl-teampages"></div></div> <div class="report969" style="display:none;"><div id="mfl-gamecenter"></div></div> </div> </td></tr></tbody> </table> </div>
Then in the css , you'd add this , to display the captions
#mflhistory .reports-content .report caption { display: table-caption }
Is there a way to split it into two columns?