Jump to content


Photo

NFL matchups/score banner


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 dirklerxstpratt

dirklerxstpratt

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 05 September 2012 - 11:26 AM

New to all of this but getting a crash course reading through all of these posts. I'd like to put the NFL games in the header and I copied what I believe is the correct code from this site:

http://64.73.54.61/2012/home/24945

But I don't know if I copied it correctly and I don't want to crash my league page. I also don't want to have to click it to update as it looks like it's set up to right now. Would someone be able to confirm if this is OK, or does something need to be added/deleted?
Thanks.


<script language="JavaScript" type="text/javascript" src="http://www.myprfl.co...e.js"></script>
<style type='text/css'>
.nflboxtablerow {
background-color: #cccccc;
color: black;
}
.nflboxoutertable {
border-collapse: collapse;
width: 100%;
padding: 0px;
margin: 0px;
}
.nflboxoutertd {
border: 1px solid black;
}
.nflboxinnertable {
border-collapse: collapse;
width: 100%;
padding: 0px;
margin: 0px;
background-color: #eeeeee;
}
.nflboxinnertablefinal {
border-collapse: collapse;
width: 100%;
padding: 0px;
margin: 0px;
background-color: #cccccc;
}
.nflboxweeknum {
color: white;
background-color: black;
font-size: 9px;
text-align: center;
}
.nflboxinweekscroll {
color: white;
background-color: green;
font-size: 12px;
text-align: center;
font-weight: bold;
width: 5px;
padding: 0px;
}
.nflboxteam {
margin: 0px;
padding: 0px;
}
.nflboxscore {
font-family: "Century Gothic";
font-size: 12px;
font-weight: normal;
margin: 0px;
padding: 0px;
text-align: right;
}
.nflboxclock {
font-size: 9px;
margin: 0px;
padding: 0px;
}
.nflboxclock a:link, .nflboxclock a:visited, .nflboxclock a:active {
text-decoration: none;
}
.nflboxclock a:hover {
color: red;
}
.winIcon {
text-align: left;
padding-left: 0px;
margin-left: 0px;
}
#popNFLBoxStats {
border: 1px solid black;
border-collapse: collapse;
width: 100%;
font-size: 11px;
background-color: white;
}
#popNFLBoxStats th {
border: 1px solid black;
}
#popNFLBoxStats td {
border: 1px solid black;
}
.tipboxNFLBox {
position: absolute;
z-index: 2000;
visibility: hidden;
}
#fixedtipdivNFLBox {
position: absolute;
padding: 6px;
line-height:18px;
border: 2px solid black;
background-color: yellow;
z-index: 100;
}
</style>
<script language="JavaScript" type="text/javascript">
<!--
//Manually start NFL boxscore
var nflBoxscoreClickToStart = false;
//Display nfl boxscore on home page only (useful only if app is in header)
var nflBoxscoreHomeOnly = true;
//Display the Game Predictor link
var nflBoxGamePredictor = true;
//Display Player Stats when available
var nflBoxPlayerStatsDisplay = true;
//Games to display at one time; 0 = Display All
var nflBoxMaxTeamsToDisplay = 0;
//Control Popup Box Characteristics
var tipwidthNFLBox='420px' //default tooltip width
var disappeardelayNFLBox=250 //tooltip disappear speed (in milliseconds)
var vertical_offsetNFLBox="8px" //horizontal offset from anchor link
var horizontal_offsetNFLBox="30px" //horizontal offset from anchor link
//-->
</script>
<script language="JavaScript" type="text/javascript" src="http://www.myprfl.co...e.js"></script>
</div>
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
<!--
if (unescape(location.href).indexOf("home")!=-1) {
if(checkHabCookie("scoreboardheader")=="true"||checkHabCookie("scoreboardheader")=="") {
scoreboardheadershow();
document.getElementById("clickscoreboardshow").style.display="none";
} else {
scoreboardheaderhide();
document.getElementById("clickscoreboardhide").style.display="none";
}
}
//-->
</script>