Hello
People here always seem willing and ready to help... maybe someone could assist me with this.
I'm trying to get a scoreboard from my site setup so others can "embed" it on their page. I don't want an iframe because the scoreboard is transparent.
I have the .php file setup to get the information from the database and display the board. At the top of the .php file I have this:
<?php
header('Content-type: application/x-javascript');
When I load the file in my browser, it displays the .html code. So I figure it's alright?
On another site I try to test out the script... it displays the script code in the source, but the board doesn't display?
<script type="text/javascript" src="http://www.mysite.com/scoreboard/boxscore.php"></script>
Have I missed something in the scoreboard code or the script code?