Forum Moderators: open
[edited by: tedster at 9:31 pm (utc) on April 22, 2003]
If you stay with this approach, you should switch out "jscript" and replace it with "javascript". Jscript is Microsoft's proprietary name and I doubt Netscape or Mozilla will like it, although Opera may have no problem because it tries very hard, out of self defense, to spoof itself as Explorer.
But this "solution" is really a non-standard hack or workaround. Athletic scores are not javascript or jscript - they're just text. So approaching things this way could be a problem.
One way to do this is to really make the file javascript. You could use the .js file to create a variable which held the score of the game. Then call the js file in the head of each page and where you want to insert the latest score, use javascript to write that variable.
Another approach would be to create one html file for the score and then insert that file wherever ou want it by using an iframe.
Instead set the font color in your CSS definition of the claret class, like this..
.claret {
color: #ffffff;
background: #800000;
}
[edited by: tsvet at 5:55 am (utc) on April 23, 2003]
then
<div class="scoreboard"><script type="text/javascript" src="score.js"></script><br></div>
color not font-color.