Jump to content


Photo

NFL Scoreboard Only

LuckyDog Sports NFL Scoreboard

6 replies to this topic

#1 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,647 posts
  • Gender:Male
  • Location:Colorado

  • 2020 MFL: 29346

Posted 21 November 2020 - 06:24 AM

I found several scripts (some dating back to 2010) in the thousands of posts here regarding a separate and only NFL Scoreboard  /Marquee that can be placed on the homepage, but none work.

 

Is there one that is currently working that I missed or can the Mini-Scoreboard be modified just to show NFL Scores and Stats?


ldsportslogoindex_32x32.png  LuckyDog Sports 
" Fantasy Fun For Football Fanatics "


#2 theeohiostate

theeohiostate

    Veteran

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

Posted 21 November 2020 - 07:22 AM

google for a NFL Scoring widget you can embed on your site , there is no stand alone NFL Scoring script

 

only thing we have is boxscores

 

you can add a function to trigger a click on the NFL button and remove the MFL button though just to show NFL Scores , but no scoring details are available

 

 

<script>
var mflBoxHomePageOnly = true;
var mflBoxDetails = false;
var mflBoxDeclareLiveWinner = true;
var mflBoxIncludeLiveStats = false;
var mflBoxUseIcon = false;     // if true will use mfl icon unless user-defined below has been set
var mflBoxUseLogo = false;    // if true will use mfl logo unless user-defined below has been set
var mflBoxUseAbbrev = false;   // if true will use mfl abbrev
var mflBoxIconBase = "";      // user-defined image (example where images are mini0001.gif, mini0002.gif etc. use "http://www.myhost.com/images/mini") 
var mflBoxIconExt = "";       //user-defined extension (from example above use "gif")
var mflBoxPositionSort = new Array("Coach","Off","QB","TMQB","RB","TMRB","WR","TMWR","TE","TMTE","PK","TMPK","PN","TMPN","DT","DE","TMDL","LB","TMLB","CB","S","TMDB","Def","ST");
var mflBoxIncludeTiebreaker = false;
var mflBoxShowNonStarter = false;
</script>

<script src="https://www.mflscripts.com/mfl-apps/scoreboard/mini-boxscore/script.js"></script>

<script>
$( document ).ready(function() {
  $('#mflBoxButtonMFL').remove();
  $('#mflBoxButtonNFL').trigger('click');
});
</script>

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


#3 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,647 posts
  • Gender:Male
  • Location:Colorado

  • 2020 MFL: 29346

Posted 21 November 2020 - 08:14 AM

Did that before posting, but didn't find a marquee-style scoreboard.

 

I'll give your script a shot.

 

Possibly use IFrame if I can find a feed url??

 

Thanks


ldsportslogoindex_32x32.png  LuckyDog Sports 
" Fantasy Fun For Football Fanatics "


#4 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,647 posts
  • Gender:Male
  • Location:Colorado

  • 2020 MFL: 29346

Posted 21 November 2020 - 09:24 AM

TOS - 

 

Check it out --> https://www50.myfant...20/home/29346#0

 

I removed the NFL text (no need for it) and made the Week bold - thinking about changing it to red.

 

Also, I'm considering reducing the left and right arrows as soon as figure out the css code

 

Thanks again, you're awesome.

 

<script>
$( document ).ready(function() {
  $('#mflBoxButtonMFL').remove();
  $('#mflBoxButtonNFL').trigger('click');
});
$( document ).ready(function() {
  $('#mflBoxButtonNFL').remove();
  $('#mflBoxButtonNFL').trigger('click');
}
</script>

<style>

td#MFLBoxWeekCell {
  font-weight: bold;
}

</style>


 


ldsportslogoindex_32x32.png  LuckyDog Sports 
" Fantasy Fun For Football Fanatics "


#5 theeohiostate

theeohiostate

    Veteran

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

Posted 21 November 2020 - 10:01 AM

<script>
$( document ).ready(function() {
  $('#mflBoxButtonNFL').trigger('click');
  $('#mflBoxButtonMFL,#mflBoxButtonNFL').remove();
}
</script>

 

simplify to this


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


#6 theeohiostate

theeohiostate

    Veteran

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

Posted 21 November 2020 - 10:08 AM

you can move arrows to left side like so

 

.MFLBoxArrowLeft:before {
  left: 5px;
  top: 6px;
  z-index:1;
  width:30px;
}
.MFLBoxArrowRight:before {
  left: 5px;
  top: 50px;
  z-index:1;
  width:30px
}
#MFLBoxWrapper .MFLNFLBoxContainer {
    margin-right: 0;
}

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


#7 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,647 posts
  • Gender:Male
  • Location:Colorado

  • 2020 MFL: 29346

Posted 21 November 2020 - 06:09 PM

Looks and works good.

 

Muchas gracias


ldsportslogoindex_32x32.png  LuckyDog Sports 
" Fantasy Fun For Football Fanatics "




Reply to this topic



  



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users