Hello,

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:
Code:
<?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 code and it displays the script code in the source, but the board doesn't display?
Code:
<script type="text/javascript" src="http://www.mysite.com/scoreboard/boxscore.php"></script>
Have I missed something in the scoreboard code, script code or maybe my server permissions aren't letting the code run on another site?

Any help you be appreciated