Post by CFP wolf on Oct 2, 2009 16:04:38 GMT -5
This is a totally-editable scoreboard for Harry Potter House Points. All the images are editable, and you can adjust the table sizes to your liking.
Firstly, put this code in any Header/Footer to change the house points:
<script>
//Harry Potter House Points Scoreboard
//Created By Orthik
//Part 1
//Leave This Header Intact At All Times
var Title = "House Points"
var TBGC = "#000000"
var TBC = "#0000FF"
var Gryffindorimg = "Gryffindor Image URL"
var Slytherinimg = "Slytherin Image URL"
var Ravenclawimg = "Ravenclaw Image URL"
var Hufflepuffimg = "Hufflepuff Image URL"
var picw = "50"
var pich = "50"
var Gryffindor = "0"
var Slytherin = "0"
var Ravenclaw = "0"
var Hufflepuff = "0"
</script>
Lastly put this code in any header/footer where you would like the Scoreboard to show up:
Quote:<center><script>
//Harry Potter House Points Scoreboard
//Created By Orthik
//Part 2
//Leave This Header Intact At All Times
var Title
var TBGC
var TBC
var Gryffindorimg
var Slytherinimg
var Ravenclawimg
var Hufflepuffimg
var picw
var pich
var Gryffindor
var Slytherin
var Ravenclaw
var Hufflepuff
document.write('<font size="2" color="#000000" face="Arial"><div><table width="50%" bgcolor="'+TBGC+'" border="1" cellpadding="2" bordercolor="'+TBC+'" cellspacing="2"><tr valign="top"><td><font size="2" color="#000000" face="Arial"><div align="center"><a style="color:White"><b><u>'+Title+'</u></b></a></div></font></td></tr></table></div><div><table width="50%" bgcolor="'+TBGC+'" border="1" cellpadding="2" bordercolor="'+TBC+'" cellspacing="2"><tr valign="top"><td><a style="color:red">Gryffindor: '+Gryffindor+'</a><br /><img src="'+Gryffindorimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td><td><a style="color:green">Slytherin: '+Slytherin+'</a><br /><img src="'+Slytherinimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td><td><a style="color:blue">Ravenclaw: '+Ravenclaw+'</a><br /><img src="'+Ravenclawimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td><td><a style="color:yellow">Hufflepuff: '+Hufflepuff+'</a><br /><img src="'+Hufflepuffimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td></tr></table></div></font>')
</script></center>
Firstly, put this code in any Header/Footer to change the house points:
<script>
//Harry Potter House Points Scoreboard
//Created By Orthik
//Part 1
//Leave This Header Intact At All Times
var Title = "House Points"
var TBGC = "#000000"
var TBC = "#0000FF"
var Gryffindorimg = "Gryffindor Image URL"
var Slytherinimg = "Slytherin Image URL"
var Ravenclawimg = "Ravenclaw Image URL"
var Hufflepuffimg = "Hufflepuff Image URL"
var picw = "50"
var pich = "50"
var Gryffindor = "0"
var Slytherin = "0"
var Ravenclaw = "0"
var Hufflepuff = "0"
</script>
Lastly put this code in any header/footer where you would like the Scoreboard to show up:
Quote:<center><script>
//Harry Potter House Points Scoreboard
//Created By Orthik
//Part 2
//Leave This Header Intact At All Times
var Title
var TBGC
var TBC
var Gryffindorimg
var Slytherinimg
var Ravenclawimg
var Hufflepuffimg
var picw
var pich
var Gryffindor
var Slytherin
var Ravenclaw
var Hufflepuff
document.write('<font size="2" color="#000000" face="Arial"><div><table width="50%" bgcolor="'+TBGC+'" border="1" cellpadding="2" bordercolor="'+TBC+'" cellspacing="2"><tr valign="top"><td><font size="2" color="#000000" face="Arial"><div align="center"><a style="color:White"><b><u>'+Title+'</u></b></a></div></font></td></tr></table></div><div><table width="50%" bgcolor="'+TBGC+'" border="1" cellpadding="2" bordercolor="'+TBC+'" cellspacing="2"><tr valign="top"><td><a style="color:red">Gryffindor: '+Gryffindor+'</a><br /><img src="'+Gryffindorimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td><td><a style="color:green">Slytherin: '+Slytherin+'</a><br /><img src="'+Slytherinimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td><td><a style="color:blue">Ravenclaw: '+Ravenclaw+'</a><br /><img src="'+Ravenclawimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td><td><a style="color:yellow">Hufflepuff: '+Hufflepuff+'</a><br /><img src="'+Hufflepuffimg+'" width="'+picw+'" height="'+pich+'" alt="" border="0" align=""></td></tr></table></div></font>')
</script></center>