Jump to content


Photo

misc tid bits


38 replies to this topic

#1 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 03 July 2015 - 03:55 PM

Just posting a few things may/may not be interested in

 

 

Add Text Before Each Captions Default Text

<script type="text/javascript">
  $('caption span:not("caption.withfranchiseicon span")').text(function(i, text) {
    return 'ADD ANY TEXT HERE ' + text;
  });
</script> 

 

 


Add Text Before Each Captions Default Text For A Specific Report

<script type="text/javascript">
  $('#standings caption span').text('Add Any Text Here ');
</script> 



 

I found a massive amount of reports and captions on the MFL site , dozens of reports were missing captions , several reports did not have a class="report" , so when styling your site , they would not pick up your call to the .report tag. Also found a few tables not wrapped properly per all other tables on the site. The script below , loaded into a header message , accompanied by a jQuery library will fix all the HTML errors i have discovered on the site , making the site appear much more consistent. This will NOT effect any of your custom CSS , this will only make everything look like it should be.

<!------------  ADD CAPTIONS AND TEXT TO REPORTS MFL HAS FORGOTTEN TO DO SO  ------------->
<script type="text/javascript">
$(document).ready(function () {
  $('#body_options_22 .pagebody table.two_column_layout').first().removeClass('two_column_layout').addClass('report results').prepend('<caption><span>Weekly Results</span></caption>');
  $('#body_weekly .pagebody table.two_column_layout').first().removeClass('two_column_layout').addClass('report results').prepend('<caption><span>Weekly Results</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("My Player News")').prepend('<caption><span>For Owners</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Set Up A New League")').prepend('<caption><span>My Leagues</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Refer A Friend")').prepend('<caption><span>For Commissioners</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Bulletin Board")').prepend('<caption><span>Communications</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Mail This Page")').prepend('<caption><span>This Page</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Help Center")').prepend('<caption><span>Help</span></caption>');
  $('#body_options_72 .pagebody .report').prepend('<caption><span>Write New Article</span></caption>');
  $('#body_edit_article .pagebody .report').prepend('<caption><span>Edit Article</span></caption>');
  $('#body_board_show .pagebody .report').prepend('<caption><span>Message Board Summary</span></caption>');
  $('#body_options_67 .pagebody .report').prepend('<caption><span>Delete Transactions</span></caption>');
  $('#body_options_158 .pagebody .report').prepend('<caption><span>Matchup Records</span></caption>');
  $('#body_generate_embed .pagebody .report').prepend('<caption><span>Generate MFL Widgets</span></caption>');
  $('#body_options_17 .pagebody .report,#body_options_109 .pagebody .report').prepend('<caption><span>Draft Results</span></caption>');
  $('#body_options_54 .pagebody .report').prepend('<caption><span>Head-To-Head Matchups</span></caption>');
  $('#body_options_137 .pagebody .report').prepend('<caption><span>Monthly Calendar</span></caption>');
  $('#body_options_112 .pagebody .report').prepend('<caption><span>League History</span></caption>');
  $('#body_options_105 .pagebody .report').prepend('<caption><span>Roster Grid</span></caption>');
  $('#body_options_03 .pagebody .report').prepend('<caption><span>League Transactions</span></caption>');
  $('#body_locked_players .pagebody .report:contains("Dropped By")').prepend('<caption><span>Current Locked Players</span></caption>');
  $('#body_free_agents .pagebody .report').prepend('<caption><span>Free Agents</span></caption>');
  $('#body_options_236 .pagebody .report').prepend('<caption><span>Player Projections</span></caption>');
  $('#body_options_37 .pagebody .report').prepend('<caption><span>Starter Points</span></caption>');
  $('#body_options_238 #map_canvas').wrap('<table class="map report"><tbody><tr><td></td></tr></tbody></table>');
  $('.map.report').prepend('<caption><span>League Map</span></caption>');
  $('#body_options_26 .pagebody .report').prepend('<caption><span>League Setup</span></caption>');
  $('#body_options_23 .pagebody .report.nocaption').prepend('<caption><span>Franchise Point Analysis</span></caption>');
  $('#body_options_81 .pagebody .report.nocaption').prepend('<caption><span>Franchise Point Analysis</span></caption>');
  $('#body_options_133 .pagebody .report.nocaption').prepend('<caption><span>Enter My Trade Bait</span></caption>');
  $('#body_options_08 .pagebody .report,#body_top .pagebody .report.nocaption').prepend('<caption><span>Player Stats</span></caption>');
  $('#body_processed_waivers .pagebody .report.nocaption').prepend('<caption><span>Processed Waivers</span></caption>');
  $('#body_options_52 .pagebody table').addClass('report');
  $('#body_options_151 .pagebody .report').prepend('<caption><span>My Draft Preferences</span></caption>');
  $('#body_options_161 .pagebody .report').prepend('<caption><span>Pool Setup</span></caption>');
  $('#body_options_28 .pagebody .report').prepend('<caption><span>Accounting Setup</span></caption>');
  $('#body_options_40 .pagebody .report').prepend('<caption><span>Standings Setup</span></caption>');
  $('#body_options_65 .pagebody .report').prepend('<caption><span>Standings Columns Setup</span></caption>');
  $('#body_options_62 .pagebody .report').prepend('<caption><span>Division/Conference Setup</span></caption>');
  $('#body_league_setup1 .pagebody .report').prepend('<caption><span>League Setup</span></caption>');
  $('#body_options_145 .pagebody .report').prepend('<caption><span>Custom Waiver Order</span></caption>');
  $('#body_options_64 .pagebody .report').prepend('<caption><span>Setup Commissioner Email</span></caption>');
  $('#body_options_103 .pagebody .report').prepend('<caption><span>Send Out League Invites</span></caption>');
  $('#body_options_30 .pagebody .report').prepend('<caption><span>League Scoring Setup</span></caption>');
  $('#body_options_108 .pagebody .report').prepend('<caption><span>Select Scoring Package</span></caption>');
  $('#body_scoring_setup1 .pagebody .report.nocaption').prepend('<caption><span>Current Scoring Rules</span></caption>');
  $('#body_options_167 .pagebody .report').prepend('<caption><span>Refer A Friend</span></caption>');
  $('#body_options_63 .pagebody .report').prepend('<caption><span>Starting Lineup Setup</span></caption>');
  $('#body_options_149 .pagebody .report').prepend('<caption><span>Formations Setup</span></caption>');
  $('#body_options_111 .pagebody .report').prepend('<caption><span>Roster Limits</span></caption>');
  $('#body_options_94 .pagebody .report').prepend('<caption><span>Enter Custom Player</span></caption>');
  $('#body_options_95 .pagebody .report.nocaption').prepend('<caption><span>Enter Custom Positions</span></caption>');
  $('#body_options_186 .pagebody .report').prepend('<caption><span>Keeper League Setup</span></caption>');
  $('#body_options_144 .pagebody .report').prepend('<caption><span>Select Keepers</span></caption>');
  $('#body_options_147 .pagebody .report').prepend('<caption><span>Edit Drafted Column</span></caption>');
  $('#body_options_141 .pagebody .report').prepend('<caption><span>Set Up Victory Points</span></caption>');
  $('#body_options_84 .pagebody table').addClass('report');
  $('#body_options_84 .pagebody .report').prepend('<caption><span>Set Custom Standings Order</span></caption>');
  $('#body_options_12 textarea,#body_options_91 form').wrap('<table class="report nocap"><tbody><tr><td></td></tr></tbody></table>');
  $('#body_options_12 .pagebody .report.nocap').prepend('<caption><span>Create A Custom Homepagemessage</span></caption>');
  $('#body_options_12 .pagebody .report.nocaption').prepend('<caption><span>Label Homepagemessage</span></caption>');
  $('#body_options_75 .pagebody .report').prepend('<caption><span>Salary Cap Setup</span></caption>');
  $('#body_options_36 .pagebody .report').prepend('<caption><span>Edit Salaries/Contracts</span></caption>');
  $('#body_options_173 .pagebody .report').prepend('<caption><span>Duplicate This League</span></caption>');
  $('#body_options_140 .pagebody .report,#body_options_77 .pagebody .report,#body_options_78 .pagebody .report').prepend('<caption><span>Playoff Setup</span></caption>');
  $('#body_options_82 .pagebody .report.nocaption').prepend('<caption><span>Seed Playoff Teams</span></caption>');
  $('#body_options_85 .pagebody .report.nocaption').prepend('<caption><span>Lineup Setup</span></caption>');
  $('#body_options_86 .pagebody .report.nocaption').prepend('<caption><span>Trades Setup</span></caption>');
  $('#body_options_87 .pagebody .report.nocaption').prepend('<caption><span>Injured Reserve Setup</span></caption>');
  $('#body_options_110 .pagebody .report.nocaption').prepend('<caption><span>Create A New Event</span></caption>');
  $('#body_options_41 .pagebody .report.nocaption').prepend('<caption><span>Waivers Setup</span></caption>');
  $('#body_options_97 .pagebody .report.nocaption').prepend('<caption><span>Waivers Setup Criteria</span></caption>');
  $('#body_options_83 .pagebody .report.nocaption').prepend('<caption><span>Enter Custom Waiver Order</span></caption>');
  $('#body_options_113 .pagebody .report.nocaption').prepend('<caption><span>Grid: Draft Results</span></caption>');
  $('#body_options_89 .pagebody .report.nocaption').prepend('<caption><span>Revert Draft</span></caption>');
  $('#body_options_106 .pagebody .report.nocaption').prepend('<caption><span>Change Draft Pick</span></caption>');
  $('#body_options_92 .pagebody .report.nocaption').prepend('<caption><span>Draft Setup</span></caption>');
  $('#body_options_91 .pagebody .report,#body_options_90 .pagebody .report.nocaption').prepend('<caption><span>Setup Draft Order</span></caption>');
  $('#body_options_25 .pagebody .report.nocaption').prepend('<caption><span>Select A Packaged Schedule</span></caption>');
  $('#body_options_114 .pagebody .report.nocaption').prepend('<caption><span>Rearrange Franchises In Fantasy Schedule</span></caption>');
  $('#body_options_139 .pagebody .report.nocaption').prepend('<caption><span>Switch Schedule Weeks</span></caption>');
  $('#body_options_168 .pagebody .report.nocaption').prepend('<caption><span>Import Fantasy Schedule</span></caption>');
  $('#body_options_61 .pagebody .report.nocaption').prepend('<caption><span>Reports and Other Settings</span></caption>');
  $('#body_options_59 .pagebody .report.nocaption').prepend('<caption><span>Setup Scrolling Text</span></caption>');
  $('#body_options_35 .pagebody .report.nocaption').prepend('<caption><span>Load League Images And CSS</span></caption>');
  $('#body_options_55 .pagebody .report.nocaption').prepend('<caption><span>Icons Setup</span></caption>');
  $('#body_options_56 .pagebody .report.nocaption').prepend('<caption><span>Menu Display Options</span></caption>');
  $('#body_options_57 .pagebody .report.nocaption').prepend('<caption><span>Skin Color Setup</span></caption>');
  $('#body_options_58 .pagebody .report.nocaption').prepend('<caption><span>Skin Font Setup</span></caption>');
  $('#body_options_128 .pagebody .report.nocaption').prepend('<caption><span>Select a skin</span></caption>');
  $('#body_options_44 .pagebody .report.nocaption').prepend('<caption><span>Auction Results</span></caption>');
  $('#body_options_102 .pagebody .report.nocaption').prepend('<caption><span>Detailed Auction Results</span></caption>');
  $('#body_options_119 .pagebody .report.nocaption').prepend('<caption><span>Waivers Tiebreaker</span></caption>');
  $('#body_options_71 .pagebody table').addClass('report');
  $('#body_options_71 .pagebody .report').prepend('<caption><span>Edit Homepage Tabs Layout</span></caption>');
  $('#body_options_68 .pagebody .report.nocaption').prepend('<caption><span>Create New Poll</span></caption>');
  $('#body_options_124 .pagebody .report.nocaption').prepend('<caption><span>Remove This League</span></caption>');
  $('#body_options_69 .pagebody .report.nocaption').prepend('<caption><span></span></caption>');
  $('#body_options_69 caption span').each(function(index) {
    $(this).text($(this).closest('table').find('th').text());
  });
});
</script>

 

 

 

Remove the duplicate rank on top player reports and also remove extra column imported for contract year and status - makes the tables far too wide if not removed.

<style>
/*   BODY FOR TOP PLAYER ADJUST TD AND REMOVE ITEMS NOT NEEDED
============================================================== */

#options_08 .contractyear,#body_top .contractyear {
     display:none;
}

#options_08 .report th.week + th,#options_08 .report tr.weeklypointtotals,
#body_top .report th.week + th,#body_top .report tr.weeklypointtotals {
     display:none;
}

#options_08 .report .rank + .rank,#body_top .report .rank + .rank {
     display:none;
}

#options_08 .report td,#body_top .report td {
     text-align:center;
}

#options_08 .report .player,#body_top .report .player {
     text-align:left;
}
</style> 

 

 

 

Updated CSS to remove Ads from MFL site - had a few issues with last one i updated. This one no issues and working better.

/*   REMOVE MFL ADS
======================= */

#body_news_articles td.timestamp + td,
#body_news_articles th.timestamp + th,
#body_view_news_article .report div[style="float: right;"],
#body_player table div,
#body_live_scoring_summary div[align="center"],
#body_live_scoring div[align="center"] {
     display: none!important;
} 

 

 

 

Add Custom Menu to your site , place in header , no css required , let the default MFL css be applied

<div id="hsubmenu" class="hcustom">  
  <ul id="hsubmenuitems">  
   <li><a href="http://%LIVESCORINGHOST%/%YEAR%/home/%LEAGUEID%">Home</a></li>  
   <li><a href="http://%HOST%/%YEAR%/standings?L=%LEAGUEID%">Standings</a></li>  
   <li><a href="http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=247&SEQNO=8">Rosters</a></li>
   <li><a target="_blank" href="http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=247&SEQNO=7">Scoreboard</a></li>  
   <li><a href="http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=15">Schedules</a></li>  
   <li><a href="http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=247&SEQNO=10">History</a></li>
   <li><a href="http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=08">Players Stats</a></li>  
   <li><a target="_blank" href="http://%LIVESCORINGHOST%/%YEAR%/ajax_ld?L=%LEAGUEID%">Draft Room</a></li>
   <li><a href="http://%HOST%/%YEAR%/options?L=%LEAGUEID%&O=247&SEQNO=17">Rules</a></li>
   <li><a target="_blank" href="http://forums.thehuddle.com/index.php?/forum/119-too-many-leagues-ffl/">Forums</a></li>
  </ul>
</div> 

 

 

 

MFL Playoff brackets will not allow padding/margin to the bottom tablerow , and doesn't look good when setting borders around the playoff brackets, this script will add a blank tr to bottom of each bracket  , how it should be done. (place if footer message)

<script type="text/javascript">
$(document).ready(function () {
$('#playoff1 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff1 tr:last');
$('#playoff2 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff2 tr:last');
$('#playoff3 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff3 tr:last');
$('#playoff4 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff4 tr:last');
$('#playoff5 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff5 tr:last');
$('#playoff6 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff6 tr:last');
$('#playoff1 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff1 tr.header');
$('#playoff2 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff2 tr.header');
$('#playoff3 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff3 tr.header');
$('#playoff4 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff4 tr.header');
$('#playoff5 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff5 tr.header');
$('#playoff6 .oddtablerow:first').clone().addClass('lastrow').insertAfter('#playoff6 tr.header');
});
</script> 

 

 

 

If you allow your owners to modify their own page layouts , but you want to keep your main skin/template intact while doing so , to prevent them from changing the color scheme , while also not allow them to mess up their own view by adding any homepage messages that could cause an issue , insert this script. (place if footer message)

<!-- PREVENT OWNERS FROM LOADING HOMEPAGE MESSAGES AND SELECTING SKINS -->

<script type="text/javascript">
if(franchise_id=="0000") {
  $("#source_list > option[value*='MESSAGE']").show();
  $("h3 a:contains('Skin')").show();
  $("#options_01 a:contains('Skin')").show();
} else {
  $("#source_list > option[value*='MESSAGE']").remove();
  $("h3 a:contains('Skin')").remove();
  $("#options_01 a:contains('Skin')").remove();
}
</script>

 

 

 

The MFL popup chat doesn't open centered , insert this into your header message , and you can control the size of the popup window and it will auto center itself

<script type="text/javascript">
function chat_window (url) {
 var width  = 500;
 var height = 480;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 params += ', top='+top+', left='+left;
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=yes';
 params += ', status=no';
 params += ', toolbar=no'
 newwin=window.open(url,'chat_window', params);
 chat_window.focus();
}
</script>

FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#2 quickolas1

quickolas1

    Veteran

  • Members
  • PipPipPip
  • 958 posts
  • Gender:Male

Posted 03 July 2015 - 06:13 PM

Remove the duplicate rank on top player reports and also remove extra column imported for contract year and status - makes the tables far too wide if not removed.


 

I like the Overall Rank so if you're looking at just WRs, you can see the #2 WR is say the #8 overall player. But I understand.

Could make an argument the bye week can be hidden but I guess if you're looking for a free agent for a certain week, it's helpful.

 

One thing I'd highly recommend is people scrunch the Franchise Icons if those show up on one's Top Performers/Stats pages.

You're not checking out the stats pages to see how pretty your 300 x 100 pixel icons are anyway...

#options_08 .status img, #top .status img {width: auto; height: 20px; }
 
Let's be honest though... the "Top Performers" page should changed to "Player Stats" and have better columns like:
Position - Player Name - NFL Team - Bye Week - Ave Pts - Total Pts - Last 3 Games Ave...
and then if its say a WR... Targets - Receptions - Yards - TD's
 
[It's annoying that if I copy & paste the top performers report into a spreadsheet that the player name + position + NFL team are all in one cell. I know they have this for the search function but the search function could just search all 3 columns!]. Then we could CSS the position column too to make positions stand out when looking at Overall...
 
Every other site has the weekly scoring breakdown available either with a pop-up (which the custom pop-up does) or on the player's individual page. Only at MyFantasyLeague is it the centerpiece...
 
-----
 
A thought popped into my head earlier though I never got to test if it was possible via CSS and it would probably need a script...
What about code that when using a mobile device would change every homepagecolumn from its current width into 100% width?
If possible... that would make all modules placed on the home page one long vertical column, right?
Like so many sites do now... it'd be a totally different look when using mobile (friendly) vs computer (original look, multiple columns)...
 
Granted in the wrong hands - people who already have excessive vertical scrolling due to 800 modules - this could be dangerous!


#3 Screaming Eagle

Screaming Eagle

    Veteran

  • Members
  • PipPipPip
  • 321 posts
  • Gender:Male
  • Location:Denver

Posted 03 July 2015 - 11:47 PM

If I remember correctly, the #options_08 icons will reset to the default size once you filter the options. I'd have to look to verify that though.
Gridiron Tavern, the best IDP league available.

#4 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 05:36 AM

A thought popped into my head earlier though I never got to test if it was possible via CSS and it would probably need a script...

What about code that when using a mobile device would change every homepagecolumn from its current width into 100% width?
If possible... that would make all modules placed on the home page one long vertical column, right?
Like so many sites do now... it'd be a totally different look when using mobile (friendly) vs computer (original look, multiple columns)...

 

 

You can do this with just CSS and media queries , example , this will make all homepage tabs go 100% width in single column on any screen size under 1000px wide.

 

I have my personal site set up this way - http://www26.myfantasyleague.com/2015/home/25902  , just open the page on your pc , and start pulling the browser window smaller and smaller and watch all the modules and reports go to a single column at 1000px .

@media only screen and (max-width: 1000px) {
 #homepagecolumn1,
 #homepagecolumn2,
 #homepagecolumn3,
 #homepagecolumn4 {width:100%;float:left;}
}

 

 

You can also make most of all the other MFL pages , like Rosters , Starters , Results , Commish setup etc , go to 1 column and width 100% by adding this in that media query above.  View this page to see the effect - http://football26.my...ns?L=25902&O=07

.two_column_layout{width:100%;float:left;} 

 

When trying to make the site more responsive , set the body or pagebody , depending on which one you tie your overall width to, to max-width: ; , instead of forcing a specific width. Then set all your reports , modules to 100% , 50% or whatever , never use px , this way the screen device can scale the page down to fit much better on small device displays and prevent horizontal scrolling

 

So i like to set my body to max-width:1000px; margin:0 auto;  , then set all reports , modules to 100% , and all two column tables to 50%

 

Lastly to make the site scale down , you have to adjust you banner size , again NEVER put in a hard px width , use width:100%;max-width: 1000px; or whatever size your banner native size is , now your banner is responsive along with the rest of the site.

 

 

If you have all the above in place , then your site will scale down very well on mobile displays , the only area we can not fix is the actual tables themselves , when a table has 10-15 columns in it , we can only scale it down so much before horizontal scrolling happens.


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#5 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 07:14 AM

also , providing that all your franchise icons and all division banners are the same sizes , you can scale those down as well (NOTE: This will not work for sites using all kinds of different sized images.)

 

.franchiseicon {
     width:100%;
     max-width:300px; /* == Set this width to the actual size of the image created == */
     height:auto;
}

.fname,.ficonname {
     width:200px;     /* == Set width for all or any specific location where icons are shown == */
}

.standingslogo  {
     width:100%;
     max-width:800px; /* ==  Set this width to the actual size of the image created == */
     height:auto;
}  

 

Using both posts , you can really make a huge difference in the appearance on mobile displays. The franchise icons do take some time , as you need to find the th,td the images reside in and set the width of those cells , and the the image itself.  I have not done this , but today i can go through the site and come up with a stylesheet for icons


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#6 quickolas1

quickolas1

    Veteran

  • Members
  • PipPipPip
  • 958 posts
  • Gender:Male

Posted 04 July 2015 - 07:37 AM

Nice. I had everything in place... calling out the homepagecolumns to be @media 100% was all I needed.

Dunno how I missed you had that already on yours. I thought I had looked at all the best customized sites with mobile.

 

-----

 

Surrounding cells for the Icons:

#owner_activity .franchisename

#standings .ficon

#options_08 .status

#top .status

#options_156 .franchisename

#options_204 .franchisename

#options_158 .franchisename

 

I have WORKED most of the reports  ;)

MFL was smokin something when they text-aligned so many of the reports.

 

-----

 

 

If I remember correctly, the #options_08 icons will reset to the default size once you filter the options. I'd have to look to verify that though.

 

Scrunched only by calling out the .status img :

http://football17.my...ns?L=16254&O=08

They stay smaller when I refine a search.



#7 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 08:00 AM

you'll probably need to float and clear your footer on mobiles if your using that

 

i had that media set up for 480px , but changed it to 1000 , so your probably didn't notice it as there are not many devices that small resolution


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#8 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 08:05 AM

I see your using that old scoreboard , here is the HPM for the revised one , i edited out all the crap in the script , and am loading the css in my main css to get it loaded faster then linking

 

<style>
#scrollingText,#league_reminders.homepagemessage,#league_reminders,table.homepagemessage,
.skinselect,#homelink,#messagePopupOverlay,#openMessageLink,#messagePopupContentInner,
.homepagemessage,#hsubmenu,#vsubmenu {
    display: none;
}
</style>


<script language="JavaScript" type="text/javascript">
<!--

//DISPLAY OPTIONS
var matchupsPerRow = 6;


//==SKIN SELECTIONS==============================================================================
useStyleSheet = -1;
//================================================================================================


//==SCOREBOARD LAYOUT=============================================================================
var scoreboardLayout = 3;
//================================================================================================


//== NUMBER TO IMAGE FOR TEAM SCORE ==============================================================
var numberImageDir = "http://nitrografixx.com/cbsscoreboard/numerals/da_blue/";
var numberImageExt = "png";
var numberImageMinimumDigits = 7;
//================================================================================================


//-->
</script>

<script language="JavaScript" type="text/javascript" src="http://nitrografixx.com/habman_js/2015SkinScoreboard.js"></script>

 

 

And the css for the scorebaord is here , pretty easy to edit

 

/*    SCOREBOARD
===================== */

td#myNavigationHolder {
     background: none;
}
 
table.cbsWeeklyNavigation {
     font: normal bold 8pt Arial,Helvetica,sans-serif;
     text-align: center;
     width: 100%;
     color: #ffffff;
     margin-bottom: 8px;
     height: 30px;
     background: url("http://www.nitrografixx.com/2014/MFL_Skins/dmd/div-bg3.jpg") repeat scroll center top transparent;
     border-radius: 5px;
     border: 1px solid #372515;
     cursor: default;
     margin-top: 0px;
     background: none repeat scroll 0px 0px rgba(38, 62, 104, 0.75);
     border-radius: 5px;
     border: 2px solid rgba(38, 62, 104, 0.9);
     box-shadow: 0px 0px 13px 1px rgba(38, 62, 104, 0.8) inset;
     padding-top:2px;
     padding-left:40px;
}
 
span.navWeekLink,span.navWeekCurr,span.navWeekInactive {
     vertical-align: middle!important;
     font: 400 8pt 'Oswald',sans-serif!important;
}
 
span.navWeekLink a {
     text-decoration: none;
     padding: 0 2px;
     color: #ddd!important;
}
 
span.navWeekLink a:hover {
     text-decoration: none;
     color:#FFFFFF!important;
}
 
span.navWeekCurr {
     color: FFFFFF!important;
     padding: 0 2px;
     font-size: 11pt;
     background: none;
}
 
span.navWeekInactive {
     padding: 0 0px;
     cursor: default;
     color: #FFF!important;
}
 
span.navdash {
     color: #263e68;
     cursor:pointer;
}
 
.cbsMainScoreboard {
     table-layout: fixed;
     min-width: 980px!important;
     border-spacing: 2px!important
}
 
#cbsRoadTeamName,#cbsHomeTeamName,#cbsRoadScore,#cbsHomeScore {
     width: 254px!important;
}

table.cbsMainScoreboard {
     width: 100%;
     font: normal bold 8pt Arial,Helvetica,sans-serif;
     margin-bottom: 5px;
     margin-top: -2px;
     background: none repeat scroll 0px 0px rgba(255, 255, 255, 0.9) ! important;
     border-radius: 5px;
     border: 1px solid #263e68;
     box-shadow: 0px 0px 3px 2px rgba(38, 62, 104, 0.2) inset;
     padding: 3px;
     text-align: left;
}

td#cbsCenterTop {
     font-size: 0;
     background: transparent url(http://www.nitrografixx.com/2015/ladder/images/scoreboard.png) center no-repeat;
}

td#cbsRoadTeamRecord,td#cbsHomeTeamRecord {
     width: auto!important;
     letter-spacing: 2px;
     font: 400 8pt 'Oswald',sans-serif!important;
     border: 1px solid #263e68;
}
 
td#cbsRoadTeamRecord {
     background:#263e68;
     color: #FFFFFF;
     text-align: center;
     height: 16px;
}
 
td#cbsHomeTeamRecord {
     background:#263e68;
     color: #FFFFFF;
     text-align: center;
     height: 16px;
}

#cbsmessage {
     position:absolute;
     margin-top:-125px;
}

td#cbsScoreboardMessage {
     color: #263e68;
     font: normal bold 10px Arial;
     background:#FFF;
     padding:1px 5px;
     border-radius: 5px;
     width:100px;
     text-align:center;
}
#cbsScoreboardMessageResetTimer {
     cursor: pointer;
     color: #da2b2a;
     font: normal bold 10px Arial;
     background:#FFF;
     padding:1px 5px;
     border-radius: 5px;
}

td.cbsScoreboardTitle {
     background: url(http://nitrografixx.com/2015/ladder/images/digitholder.png) center top no-repeat;
     color: #da2b2a;
     text-align: center;
}
 
td#cbsRoadPlayers,td#cbsRoadYTP,td#cbsRoadPMR,td#cbsHomePlayers,td#cbsHomeYTP,td#cbsHomePMR {
     background: url(http://nitrografixx.com/2015/ladder/images/digitholder.png) center bottom no-repeat;
     color: #263e68;
     text-align: center;
}

td#cbsRoadTeamName img,td#cbsHomeTeamName img {
     max-height: 40px;
     max-width: 220px;
}

td#cbsRoadTeamName,td#cbsHomeTeamName {
     text-align: center;
     border: 1px solid #263e68;
     background: #FFF;
     font-size:15pt;
     background-image: url("http://nitrografixx.com/2015/ladder/images/transp_bg.png");
     height:55px;
     text-transform:uppercase;
     color:#263e68;
}

td#cbsRoadScore,td#cbsHomeScore {
     background: transparent;
     border: 0;
     padding:0;
}
 
td#cbsRoadScore img,td#cbsHomeScore img {
     padding-top: 0px;
     margin: 0!important;
     margin-right:1px!important
}

td#cbsHomeLogo img {
     -moz-transform: scaleX(-1);
     -o-transform: scaleX(-1);
     -webkit-transform: scaleX(-1);
     transform: scaleX(-1);
     filter: FlipH;
     -ms-filter: "FlipH";
}

td#myMiddleTableHolder {
     -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
     background: none repeat scroll 0px 0px rgba(255, 255, 255, 0.9) ! important;
     border-radius: 5px;
     border: 1px solid #263e68;
     box-shadow: 0px 0px 3px 2px rgba(38, 62, 104, 0.2) inset;
     padding: 5px;
     height:76px;
}
 
.cbsGameLinks td {
     margin: 0;
     padding: 0;
}
 
.cbsGameTable td {
     border:1px solid rgba(38, 62, 104,1);
     height: 33px;
}
 
table.cbsGameTable {
     border-collapse: collapse;
     position:relative;
     border:0!important;
     cursor:pointer;
     color: #263e68;
     min-width: 150px;
     background-image: url("http://nitrografixx.com/2015/ladder/images/transp_bg.png");
}
 
.cbsGameTable tr+tr td+td {
     text-align:center!important;
     padding:0!important;
     width:40px;
     color:#da2b2a;
}

tbody.matchupHilite,tbody.matchupHilite:hover {
     background: rgba(218, 43, 42,0.2);
}

tbody.matchupLolite:hover {
     background-color: rgba(38, 62, 104,0.2);
}

tr.matchupLolite {
     width:100%;
     height:100%;
     position:absolute;
     top:0;
     left:0;
}
 
table.cbsNFLGameTable {
     color: #263e68!important;
     background-image: url("http://nitrografixx.com/2015/ladder/images/transp_bg.png");
     border: 1px solid #263e68!important;
}
 
table.cbsNFLGameTable a {
     text-decoration: none;
     font-size: 9pt;
     font-weight: 400;
}

table.cbsLineups,table.cbsLineups a,table.cbsLineups th {
     font: 400 10pt 'Oswald',sans-serif!important;
}

.cbsLineups {     
     background: none repeat scroll 0px 0px rgba(255, 255, 255, 0.9) ! important;
     border: 1px solid #263e68;
     box-shadow: 0px 0px 3px 2px rgba(38, 62, 104, 0.2) inset;
     padding: 7px 5px;
     border-spacing: 0;
     margin-top: 5px;
     cursor: default;
     text-align:center;
     -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
     border-radius: 5px;
}
 
.cbsTeamLineup {
     border-spacing:0px!important;
     width:482px!important;
}
 
.cbsTeamLineup td,.cbsTeamLineup td.actual {
     border: 1px solid #263e68;
     border-top:0;
     padding: 1px;
     text-align: center;
     color: #888;
}
.cbsTeamLineup td {
     border-right:0;
}

.cbsTeamLineup td.cbsPlayerPoints,td.oppRankNA {
     border-right:1px solid #263e68;
}
 
table.cbsOuterTable tbody tr td table.cbsLineups tbody tr td#cbsHomeLineup {
     padding-left: 5px;
}
 
table.cbsLineups td#cbsBlankLineup {
     display: none;
}
 
span.injuredPlayer {
     color: #da2b2a;
}

.cbsLineups a:link,.cbsLineups a:active,.cbsLineups a:visited {
     color: #263e68;
     text-decoration: none;
}
 
.cbsLineups a:link:hover,.cbsLineups a:active:hover,.cbsLineups a:visited:hover {
     color: #da2b2a;
}
 
td.cbsPlayerName {
     text-align: left;
}
 
.cbsLineups td.cbsPlayerPoints {
     cursor: pointer;
     color: #da2b2a;
}
 
.cbsLineups td.cbsPlayerPoints:hover {
     color: #263e68;
}

.cbsLineups td.cbsPlayerProjections {
     color: green;
     cursor: default;
}

.lineupHeaderRow th {
     border: 0 none;
     color: #fff!important;
     border-bottom: 2px solid #da2b2a;
}
 
tr.lineupHeaderRow {
     background-position: 0;
     height: 34px;
}
 
th.lineupHeaderPlayer {
     text-align: left;
     text-indent:5px;
}

.cbsLineups th.pointTotalTitle,.cbsLineups th.pointTotalProj,.cbsLineups th.pointTotalActual {
     border: 0;
     color: #da2b2a!important;
     border: 1px solid #263e68;
     box-shadow: 0px 0px 0px 0px #111111 inset;
     border-top:2px solid #263e68;
     background:rgba(38,62,104,.1);
}
.cbsLineups th.pointTotalTitle,.cbsLineups th.pointTotalProj {
     border-right:0;
}
 
th.pointTotalTitle {
     text-align: left;
}

tr.rowYTP {
     background: #FFFFFF;
}
 
tr.rowCurrentlyPlaying {
     background: rgba(13, 254, 1, .05);
}
 
tr.rowGameOver {
     background: rgba(218, 43, 42, .05);
}

.cbsLineups .oppRankBadMatchup {
     background-color: #F00;
     color: #000;
     font-size: 11px;
     text-align: center;
}
 
.cbsLineups .oppRankPoorMatchup {
     background-color: #FF8000;
     color: #000;
     font-size: 11px;
     text-align: center;
}
 
.cbsLineups .oppRankAvgMatchup {
     background-color: #FF0;
     color: #000;
     font-size: 11px;
     text-align: center;
}
 
.cbsLineups .oppRankGoodMatchup {
     background-color: #01DF01;
     color: #000;
     font-size: 11px;
     text-align: center;
}
 
.cbsLineups .oppRankGreatMatchup {
     background-color: #04B404;
     color: #000;
     font-size: 11px;
     text-align: center;
}
 
.cbsLineups td.oppRankNA {
     color: #FFF;
     font-size: 10px;
     text-align: center;
}

table.playerUpdateContainer {
     display: none;
}

table.cbsGameLinks>tbody>tr>td>center {
     color: #da2b2a;
     font-size:12pt;
}
 
.cbsLineups th.lineupHeaderPlayer {
     width: 177px;
     padding: 0;
}
 
.cbsLineups th.lineupHeaderGames {
     width: 100px;
     padding: 0;
}
 
.cbsLineups th.sos {
     width: 36px;
     padding: 0;
}
 
.cbsLineups th.gamestime {
     width: 64px;
     padding: 0;
}
 
.cbsLineups th.lineupHeaderProj {
     width: 44px;
     padding: 0;
}
 
.cbsLineups th.lineupHeaderActual {
     width: 44px;
     padding: 0;
}

FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#9 quickolas1

quickolas1

    Veteran

  • Members
  • PipPipPip
  • 958 posts
  • Gender:Male

Posted 04 July 2015 - 08:14 AM

I see your using that old scoreboard 

 

slow down, trick daddy. that was next on my to-do list!



#10 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 08:17 AM

I see your using that old scoreboard 

 

slow down, trick daddy. that was next on my to-do list!

 

 

referring to the script being pulled , i got rid of all the crap at the top , moved the reset timer to a better spot , and set the hover fantasy matchup for the entire cell and removed "view" and "live"


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#11 quickolas1

quickolas1

    Veteran

  • Members
  • PipPipPip
  • 958 posts
  • Gender:Male

Posted 04 July 2015 - 08:22 AM

Here's one I don't think you have. Replace those old tired icons MFL uses in (default) Live Scoring, Weekly Results and Owner Activity.

Images backed out cuz I don't want others to straight copy this code and link to my photobucket.

 

.gameunderway { background:url() no-repeat; background-position: center right; }
.updatedstats { background:url() no-repeat; background-position: center right; }
.haspossession { background:url() no-repeat; background-position: center right; }
.redzone { background:url() no-repeat; background-position: center right; }
.shouldstart { background: url() center right no-repeat; padding-right: 20px; }
.shouldbench { background: url() center right no-repeat; padding-right: 20px; }
.franchise_online { background: url() center right no-repeat; padding-right: 18px; }
.franchise_offline { background: url() center right no-repeat; padding-right: 18px; }

 

Edit: If someone takes the above images from my site, that's fine... just host the images yourself and don't use my photobucket links.



#12 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 08:28 AM

been meaning to get around to doing that , i just hate graphics and too lazy to look for images

 

i'll grab those images from you css if u dont mind ;)


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#13 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 04:02 PM

MFL has forgotten to add captions to many reports , they also forgot to wrap some of the tables with a class="report" , this script will make all the table.reports conform to the HTML MFL is using for the other 99% of their reports. So when you style your reports and captions , every table and report that wasn't before looking the same, will do so now.  Odd , why 30-40 tables had no caption , and several had a caption , but were not wrapped with table class .report , like For Owners > Draft , weird to have a caption with no table outline. This script will fix it ALL !

 

I think i found 100% of these , but if i failed to catch one , let me know and i'll update this.

 

<!------------  ADD CAPTIONS AND TEXT TO REPORTS MFL HAS FORGOTTEN TO DO SO  ------------->
<script type="text/javascript">
$(document).ready(function () {
  $('#body_options_22 .pagebody table.two_column_layout').first().removeClass('two_column_layout').addClass('report results').prepend('<caption><span>Weekly Results</span></caption>');
  $('#body_weekly .pagebody table.two_column_layout').first().removeClass('two_column_layout').addClass('report results').prepend('<caption><span>Weekly Results</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("My Player News")').prepend('<caption><span>For Owners</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Set Up A New League")').prepend('<caption><span>My Leagues</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Refer A Friend")').prepend('<caption><span>For Commissioners</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Bulletin Board")').prepend('<caption><span>Communications</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Mail This Page")').prepend('<caption><span>This Page</span></caption>');
  $('#body_menu_page .pagebody .report.nocaption:contains("Help Center")').prepend('<caption><span>Help</span></caption>');
  $('#body_options_72 .pagebody .report').prepend('<caption><span>Write New Article</span></caption>');
  $('#body_edit_article .pagebody .report').prepend('<caption><span>Edit Article</span></caption>');
  $('#body_board_show .pagebody .report').prepend('<caption><span>Message Board Summary</span></caption>');
  $('#body_options_67 .pagebody .report').prepend('<caption><span>Delete Transactions</span></caption>');
  $('#body_options_158 .pagebody .report').prepend('<caption><span>Matchup Records</span></caption>');
  $('#body_generate_embed .pagebody .report').prepend('<caption><span>Generate MFL Widgets</span></caption>');
  $('#body_options_17 .pagebody .report,#body_options_109 .pagebody .report').prepend('<caption><span>Draft Results</span></caption>');
  $('#body_options_54 .pagebody .report').prepend('<caption><span>Head-To-Head Matchups</span></caption>');
  $('#body_options_137 .pagebody .report').prepend('<caption><span>Monthly Calendar</span></caption>');
  $('#body_options_112 .pagebody .report').prepend('<caption><span>League History</span></caption>');
  $('#body_options_105 .pagebody .report').prepend('<caption><span>Roster Grid</span></caption>');
  $('#body_options_03 .pagebody .report').prepend('<caption><span>League Transactions</span></caption>');
  $('#body_locked_players .pagebody .report:contains("Dropped By")').prepend('<caption><span>Current Locked Players</span></caption>');
  $('#body_free_agents .pagebody .report').prepend('<caption><span>Free Agents</span></caption>');
  $('#body_options_236 .pagebody .report').prepend('<caption><span>Player Projections</span></caption>');
  $('#body_options_37 .pagebody .report').prepend('<caption><span>Starter Points</span></caption>');
  $('#body_options_238 #map_canvas').wrap('<table class="map report"><tbody><tr><td></td></tr></tbody></table>');
  $('.map.report').prepend('<caption><span>League Map</span></caption>');
  $('#body_options_26 .pagebody .report').prepend('<caption><span>League Setup</span></caption>');
  $('#body_options_23 .pagebody .report.nocaption').prepend('<caption><span>Franchise Point Analysis</span></caption>');
  $('#body_options_81 .pagebody .report.nocaption').prepend('<caption><span>Franchise Point Analysis</span></caption>');
  $('#body_options_08 .pagebody .report,#body_top .pagebody .report.nocaption').prepend('<caption><span>Player Stats</span></caption>');
  $('#body_processed_waivers .pagebody .report.nocaption').prepend('<caption><span>Processed Waivers</span></caption>');
  $('#body_options_52 .pagebody table').addClass('report');
  $('#body_options_151 .pagebody .report').prepend('<caption><span>My Draft Preferences</span></caption>');
  $('#body_options_161 .pagebody .report').prepend('<caption><span>Pool Setup</span></caption>');
  $('#body_options_28 .pagebody .report').prepend('<caption><span>Accounting Setup</span></caption>');
  $('#body_options_40 .pagebody .report').prepend('<caption><span>Standings Setup</span></caption>');
  $('#body_options_65 .pagebody .report').prepend('<caption><span>Standings Columns Setup</span></caption>');
  $('#body_options_62 .pagebody .report').prepend('<caption><span>Division/Conference Setup</span></caption>');
  $('#body_league_setup1 .pagebody .report').prepend('<caption><span>League Setup</span></caption>');
  $('#body_options_145 .pagebody .report').prepend('<caption><span>Custom Waiver Order</span></caption>');
  $('#body_options_64 .pagebody .report').prepend('<caption><span>Setup Commissioner Email</span></caption>');
  $('#body_options_103 .pagebody .report').prepend('<caption><span>Send Out League Invites</span></caption>');
  $('#body_options_30 .pagebody .report').prepend('<caption><span>League Scoring Setup</span></caption>');
  $('#body_options_108 .pagebody .report').prepend('<caption><span>Select Scoring Package</span></caption>');
  $('#body_scoring_setup1 .pagebody .report.nocaption').prepend('<caption><span>Current Scoring Rules</span></caption>');
  $('#body_options_167 .pagebody .report').prepend('<caption><span>Refer A Friend</span></caption>');
  $('#body_options_63 .pagebody .report').prepend('<caption><span>Starting Lineup Setup</span></caption>');
  $('#body_options_149 .pagebody .report').prepend('<caption><span>Formations Setup</span></caption>');
  $('#body_options_111 .pagebody .report').prepend('<caption><span>Roster Limits</span></caption>');
  $('#body_options_94 .pagebody .report').prepend('<caption><span>Enter Custom Player</span></caption>');
  $('#body_options_95 .pagebody .report.nocaption').prepend('<caption><span>Enter Custom Positions</span></caption>');
  $('#body_options_186 .pagebody .report').prepend('<caption><span>Keeper League Setup</span></caption>');
  $('#body_options_144 .pagebody .report').prepend('<caption><span>Select Keepers</span></caption>');
  $('#body_options_147 .pagebody .report').prepend('<caption><span>Edit Drafted Column</span></caption>');
  $('#body_options_141 .pagebody .report').prepend('<caption><span>Set Up Victory Points</span></caption>');
  $('#body_options_84 .pagebody table').addClass('report');
  $('#body_options_84 .pagebody .report').prepend('<caption><span>Set Custom Standings Order</span></caption>');
  $('#body_options_12 textarea,#body_options_91 form').wrap('<table class="report"><tbody><tr><td></td></tr></tbody></table>');
  $('#body_options_12 .pagebody .report').prepend('<caption><span>Create A Custom Homepagemessage</span></caption>');
  $('#body_options_12 .pagebody .report.nocaption').prepend('<caption><span>Label Homepagemessage</span></caption>');
  $('#body_options_75 .pagebody .report').prepend('<caption><span>Salary Cap Setup</span></caption>');
  $('#body_options_36 .pagebody .report').prepend('<caption><span>Edit Salaries/Contracts</span></caption>');
  $('#body_options_173 .pagebody .report').prepend('<caption><span>Duplicate This League</span></caption>');
  $('#body_options_140 .pagebody .report,#body_options_77 .pagebody .report,#body_options_78 .pagebody .report').prepend('<caption><span>Playoff Setup</span></caption>');
  $('#body_options_82 .pagebody .report.nocaption').prepend('<caption><span>Seed Playoff Teams</span></caption>');
  $('#body_options_85 .pagebody .report.nocaption').prepend('<caption><span>Lineup Setup</span></caption>');
  $('#body_options_86 .pagebody .report.nocaption').prepend('<caption><span>Trades Setup</span></caption>');
  $('#body_options_87 .pagebody .report.nocaption').prepend('<caption><span>Injured Reserve Setup</span></caption>');
  $('#body_options_110 .pagebody .report.nocaption').prepend('<caption><span>Create A New Event</span></caption>');
  $('#body_options_41 .pagebody .report.nocaption').prepend('<caption><span>Waivers Setup</span></caption>');
  $('#body_options_97 .pagebody .report.nocaption').prepend('<caption><span>Waivers Setup Criteria</span></caption>');
  $('#body_options_83 .pagebody .report.nocaption').prepend('<caption><span>Enter Custom Waiver Order</span></caption>');
  $('#body_options_113 .pagebody .report.nocaption').prepend('<caption><span>Grid: Draft Results</span></caption>');
  $('#body_options_89 .pagebody .report.nocaption').prepend('<caption><span>Revert Draft</span></caption>');
  $('#body_options_106 .pagebody .report.nocaption').prepend('<caption><span>Change Draft Pick</span></caption>');
  $('#body_options_92 .pagebody .report.nocaption').prepend('<caption><span>Draft Setup</span></caption>');
  $('#body_options_91 .pagebody .report,#body_options_90 .pagebody .report.nocaption').prepend('<caption><span>Setup Draft Order</span></caption>');
  $('#body_options_25 .pagebody .report.nocaption').prepend('<caption><span>Select A Packaged Schedule</span></caption>');
  $('#body_options_114 .pagebody .report.nocaption').prepend('<caption><span>Rearrange Franchises In Fantasy Schedule</span></caption>');
  $('#body_options_139 .pagebody .report.nocaption').prepend('<caption><span>Switch Schedule Weeks</span></caption>');
  $('#body_options_168 .pagebody .report.nocaption').prepend('<caption><span>Import Fantasy Schedule</span></caption>');
  $('#body_options_61 .pagebody .report.nocaption').prepend('<caption><span>Reports and Other Settings</span></caption>');
  $('#body_options_59 .pagebody .report.nocaption').prepend('<caption><span>Setup Scrolling Text</span></caption>');
  $('#body_options_35 .pagebody .report.nocaption').prepend('<caption><span>Load League Images And CSS</span></caption>');
  $('#body_options_55 .pagebody .report.nocaption').prepend('<caption><span>Icons Setup</span></caption>');
  $('#body_options_56 .pagebody .report.nocaption').prepend('<caption><span>Menu Display Options</span></caption>');
  $('#body_options_57 .pagebody .report.nocaption').prepend('<caption><span>Skin Color Setup</span></caption>');
  $('#body_options_58 .pagebody .report.nocaption').prepend('<caption><span>Skin Font Setup</span></caption>');
  $('#body_options_128 .pagebody .report.nocaption').prepend('<caption><span>Select a skin</span></caption>');
  $('#body_options_119 .pagebody .report.nocaption').prepend('<caption><span>Waivers Tiebreaker</span></caption>');
  $('#body_options_71 .pagebody table').addClass('report');
  $('#body_options_71 .pagebody .report').prepend('<caption><span>Edit Homepage Tabs Layout</span></caption>');
  $('#body_options_68 .pagebody .report.nocaption').prepend('<caption><span>Create New Poll</span></caption>');
  $('#body_options_124 .pagebody .report.nocaption').prepend('<caption><span>Remove This League</span></caption>');
  $('#body_options_69 .pagebody .report.nocaption').prepend('<caption><span></span></caption>');
  $('#body_options_69 caption span').each(function(index) {
    $(this).text($(this).closest('table').find('th').text());
  });
});
</script>

FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#14 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 July 2015 - 06:42 PM

Here is an example of what the above script does. It simply applies the MFL table.report class to all tables MFL did not apply them too , and also give each of them a caption and a name.

 

 

 

example.jpg


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#15 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,461 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 05 July 2015 - 12:03 AM

next goal is getting the Live Draft room built into a homepage message , i already have all the draft content , but have to review all the scripts to get it working on the normal mfl site pages

 

http://www26.myfanta...MODULE=MESSAGE3


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users