Chat i en anden port
Kender ikke meget til HTML så mit spm. lyder måske dumt! Kan man få denne chat til at bruge port 23??<body bgcolor="#ffffff" background="http://static.spinchat.com/small/classic/background.gif">
<script>
<!-- //
var nav4 = false;
var nav5 = false;
var ie4 = false;
var macIE = false;
nav4 = ((navigator.userAgent.indexOf("Mozilla/4") != -1) && (navigator.appName == "Netscape"));
ie4 = ((navigator.userAgent.indexOf("Mozilla/4") != -1) && (navigator.appName == "Microsoft Internet Explorer"));
macIE = ((ie4) && (navigator.userAgent.indexOf("PowerPC") != -1));
PSTY = "http://static.spinchat.com/small/classic/";
Butt=new Array();
Butt[0]="greets all...";
Butt[1]="rolls on the floor laughing...";
Butt[2]="is very sad...";
Butt[3]="agrees to all...";
Butt[4]="disagrees to all...";
Butt[5]="has to make some phonecalls...";
Butt[6]="has to go soon...";
Butt[7]="says cu to all...";
Butt[8]="Help";
if(document.images)
{
Pix = new Array();
for (i=1; i<=Butt.length;i++)
{
PNum='p'+i;
Pix[PNum]=new Array();
Pix[PNum]['a'] = new Image();
Pix[PNum]['b'] = new Image();
Pix[PNum]['a'].src =PSTY+"button"+i+"-a.gif";
Pix[PNum]['b'].src =PSTY+"button"+i+"-b.gif";
}
}
function HiP(picNum)
{
if(document.images)document.images[picNum].src=Pix[picNum]['b'].src;
}
function LoP(picNum)
{
if(document.images)document.images[picNum].src=Pix[picNum]['a'].src;
}
function BOn(picNum)
{
if(document.images)document.images[picNum].src=Pix[picNum]['b'].src;
}
function nop()
{
}
function EmoteT(inhalt, lblur)
{
if(ie4) lblur.blur();
if(!macIE)
{
document.chat.emote(inhalt);
}
else
{
status="ERROR: MS-Internet-Explorer for Macintosh doesn't support emote buttons!";
}
}
function HelpWindow()
{
window.open('http://new.spinchat.de/help/smallhelp-en.html','spinchathelp','width=500,height=400,scrollbars=1');
}
// -->
</script>
<table border="0" cellpadding="0" cellspacing="0" width="478">
<tr><td rowspan=7><img src="http://static.spinchat.com/small/pixel.gif" height="400" width="3"></td><td><img src="http://static.spinchat.com/small/pixel.gif" height="2" width="468"></td><td rowspan=7><img src="http://static.spinchat.com/small/pixel.gif" height="400" width="3"></td></tr>
<tr><td valign="top"><iframe src="http://pix.spin.de/dad/ad?fmt=frame|group=3001|bgcolor=ffffff|valign=top|time=400" width="468" height="60" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" frameborder="0" hspace="0" vspace="0" scrolling="no" noresize></iframe><br><APPLET
CODE="spinchat/Small.class" NAME="chat"
CODEBASE="http://www.icewerk.com/classes/" WIDTH=472 HEIGHT=291
archive="small.jar">
<PARAM name="rotation" value="400">
<PARAM name="channel" value="talk2">
<PARAM name="bgcolor" value="ffffff">
<param name="adgroup" value="none">
<PARAM name="fgcolor" value="003366">
<PARAM name="port" value="3001">
<PARAM name="lang" value="en">
<PARAM name="loc" value="file:///D:/Documents%20and%20Settings/per/Dokumenter/spinchat1.html">
You need a Java capable browser!
</APPLET></TD></TR>
<tr><td><img src="http://static.spinchat.com/small/pixel.gif" height="3" width="468"></td></tr>
<tr><td valign="top"><nobr><img src="http://static.spinchat.com/small/pixel.gif" height="1" width="10"><SCRIPT>
<!--
for (var i=1; i<Butt.length;i++)
{
document.write('<a href="java script:nop();" onClick="EmoteT(\''+Butt[i-1]+'\', this);" onMouseover="HiP(\'p'+i+'\');status=\''+Butt[i-1]+'\';return true;" onMouseout="LoP(\'p'+i+'\');" onmousedown="BOn(\'p'+i+'\');" onmouseup="HiP(\'p'+i+'\');"><img src="'+PSTY+'button'+i+'-a.gif" width=34 height=34 border=0 alt="'+Butt[i-1]+'" name="p'+i+'"></a>');
document.write('<img src="http://static.spinchat.com/small/pixel.gif" width=3 height=1 border=0>');
}
document.write('<img src="http://static.spinchat.com/small/pixel.gif" width=9 height=1 border=0><a href="java script:HelpWindow();" onMouseover="HiP(\'p9\');status=\''+Butt[i-1]+'\';return true;" onMouseout="LoP(\'p9\');" onmousedown="BOn(\'p9\');" onmouseup="HiP(\'p9\');"><img src="http://static.spinchat.com/small/classic/button9-a.gif" width=34 height=34 border=0 alt="'+Butt[i-1]+'" name="p9"></a>');
// -->
</SCRIPT><img
src="http://static.spinchat.com/small/pixel.gif" width=40 height=1 border=0><a href="http://www.spinchat.com" target="_blank"><img src="http://static.spinchat.com/small/spin.gif" width=73 height=26 border=0 align="absmiddle"></a></nobr></td>
</tr><tr><td><img src="http://static.spinchat.com/small/pixel.gif" height="6" width="468"></td></tr></table>
</body>
</html>
