PDA


View Full Version : adding javascript


lykenu
04-14-2005, 04:33 PM
hi, searched for this but couldnt find anything. tried to add this to my topsite block,

<!-- BEGIN Battle2.net Topsites Code -->
<SCRIPT language="JavaScript" src="http://www.battle2.net/topsite/topsites.php/hits.php?id=2"></SCRIPT>
<!-- END Battle2.net Topsites Code -->

but i get a error on page message. is there a certain way to add java to this?

thanks for any help you can give me :)

Brian
04-14-2005, 04:45 PM
What was the error?

lykenu
04-14-2005, 05:03 PM
just the normal loaded but with errors on page error

http://www.battle2.net/index.php

lykenu
04-14-2005, 05:04 PM
its in the bottom right block, the other 2 dont have java in the code so show up fine