|
script
Dec 19, 2005 16:31:55 GMT -5
Post by Tovec on Dec 19, 2005 16:31:55 GMT -5
If you want the script to put Darker IRC on your own forum or site here it is. Just put this on the footer of the proboards forum or on the site in question. (hides the board of the board when put in footer. Does not when in header)
<script type="text/javascript"> var chatWidth=600; var chatHeight=400;
var t=document.getElementsByTagName("table"); for(var i=4;i<t.length;i++) { t[i].style.display="none"; }
var content = "<!-- Start Chat Applet -->"; content += "<table border=0 width=\""+chatWidth+"\" align=\"center\">"; content += "<tr><td>"; content += "<APPLET CODE=\"DarkerIRC\" CODEBASE=\"http://www.sfdevcenter.org/irchat/\" ARCHIVE =\"darkerirc.jar\" WIDTH=\""+chatWidth+"\" HEIGHT =\""+chatHeight+"\">"; content += "<PARAM NAME=\"code\" VALUE=\"DarkerIRC\">"; content += "<PARAM NAME=\"archive\" VALUE =\"darkerirc.jar\">"; content += "<PARAM NAME=\" type\" VALUE=\"application/x-java-applet;version=1.3\">"; content += "<PARAM NAME=\"scriptable\" VALUE=\"false\">"; content += "<PARAM NAME=\"configfile\" VALUE=\"darkerirc.config\">"; content += "This application requires Java support.<br>This server also available via IRC at:<br><a href=\"irc://irc.frozenonline.com/sf\">irc://irc.frozenonline.com/sf</a>"; content += "</APPLET>"; content += "</td></tr>"; content += "</table>"; content += "<!-- End Chat Applet -->"; document.write(content); </script>
|
|