[h1]Automated Sports Score Keeper[/h1]
i have tweak this quite a bit to get what i wanted. it has been copywritten to my comapny. use it however you like just don't remove the copyright off of it. thanks
This begine the top of your box. all you are doing is creating a table on your html page with a scrolling marquee.you can chage what ever text you would like to add to the box.
<html>
<head>
<title>Sport Scores</title>
</head>
<body>
<div style="text-align:center">
<table width="50%" align="center" border="1" bordercolor="#330099">
<tr><td bgcolor="#99CC99">
<div class="tableborder">
<div class="maintitle" align="left" style="text-align:left" color="#330099" border="0">
[img src="http://img429.imageshack.us/img429/4269/new160zq.gif" border="0" alt="" width="40" height="25" ][/img]
<font face="Verdana" color="#330099" size="3">
Latest News
</div>
<table width="100%" height="1" border="1" bordercolor="#330099" cellspacing="1" cellpadding="1">
<tr><td class="row1">
<center>
<marquee height=70 width=100%
onMouseover="this.stop()"
onMouseout="this.start()" direction=up scrollamount="1">
<center>
<font face="Verdana" color="#330099" size="3">
Welcome to Sports Scores Central!!!!
<br><br>New Scores Everyday!!!!
<br><br>Brought Here For Your Enjoyment!!!
<br><br>Want The Latest Scores Around!!!!!
<br><br>Look No Further You Found It!!!!
<br><br>Seahawks Wins!!, Steelers Wins!!!
<br><br>Football Aires On Sunday All Day !!!!
<br><br>Get The Chips And The Dip It's Time To Rumble!!!!
</center></b></marquee>
</td>
</tr>
</table>
i had to search for the info from a site to find live links to keep a live scoreboard active. this is who i choose and you can use them too.
there are others, but i found this real easy to code once i got it working properly.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><font size="3" color="#330099"> Select Your Sport For Current Scoring</td>
</tr>
<tr id="Sports_table">
<td class="$getbgrow">
<form name="jumpy" action="post" style="margin: 0px; padding: 0px;">
<select onchange="gone();" size="1" name="example">
<option value="http://www.sportsline.com/nba/box-scoreboards">NBA</option>
<option value="http://www.sportsline.com/nfl/box-scoreboards" selected="selected">NFL</option>
<option value="http://www.sportsline.com/nhl/box-scoreboards">NHL</option">
<option value="http://www.sportsline.com/mlb/box-scoreboards">MLB</option">
<option value="http://www.sportsline.com/collegefootball/box-scoreboards">NCAA Football</option>
<option value="http://www.sportsline.com/collegebasketball/box-scoreboards">NCAA Basketball</option>
<option value="http://www.sportsline.com/olympics/box-scoreboards">Olympics</option>
</select>
</form>
<font size="1" color="#330099">Courtesy CBS Sportsline</font>
<script type="text/javascript" language="javascript">
var displaymode=0;
<!-- This adds the iframe -->
var iframecode="<center><iframe id='external' style='width: 190px; height: 220px;' src='http://www.sportsline.com/nfl/box-scoreboards' scrolling='auto' border='1' marginwidth='2' marginheight='2' align='middle' frameborder='0'></iframe></center>";
if (displaymode==0) {
document.write(iframecode);
}
function gone() {
var selectedurl=document.jumpy.example.options[document.jumpy.example.selectedIndex].value;
if (document.getElementById&&displaymode==0) {
document.getElementById("external").src=selectedurl;
} else if (document.all&&displaymode==0) {
document.all.external.src=selectedurl;
} else {
if (!window.win2||win2.closed) {
win2=window.open(selectedurl);
} else {
win2.location=selectedurl;
win2.focus();
}
}
}
</script>
</td>
</tr>
</table>
<br />
<center><font size="1">©2005 DeMarco Computer Specialist's</font></center>
</div>
</td></tr></table>
</div>
</body>
</html>
this is the whole html page i coded. you can resize to your specs.
Example Page:
Click here to see an example of this script.If you like this tutorial, please
Click Here to register.
Click the link below to download the HTML file for this tutorial.
Automated Sports Score Keeper HTML