hjælp!!!
jeg har et problem jeg vil gerne have at sådan når man skriver lol skriver den loughing our loud. og så man kan skifte skriftfarve mellem sort og blå! plz hjælp mig her er mit script:<?
require("funktioner.php3");
CheckSession($sesid);
$brugerinfo = HentBrugerOplysninger($id);
?>
<head>
<meta http-equiv="pragma" content="no-cache">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<script language="JavaScript">
function skrivclear() {
document.skrivfelt.text.value = document.skrivfelt.msg.value;
document.skrivfelt.msg.value='';
document.skrivfelt.msg.focus();
}
</script>
<body bgcolor="#93BEE2" leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
<form method="post" action="top.php3<?print "?id=".$id."&sesid=".$sesid."";?>&action=skriv" target="top" name="skrivfelt" onSubmit="return skrivclear();" style="margin-top: 0px; margin-bottom: 0px">
<table width="99%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td><span class="skrift">Skriv Til
<? alle($id); ?>
- Velkommen til chatten: <font color="#990000">
<?print "$brugerinfo[nick]";?>
</font> | Online : ( <font color="#990000"> <? print antal_brugere();?> </font> ) | Rum: <font color="#990000">Alle</font> | Status : <font color="#990000">
<?print StatusNavn($brugerinfo[status]);?>
</font></span></td>
</tr>
<tr>
<td><span class="skrift">Besked:</span>
<input type="hidden" name="text" value="">
<input type="text" name="msg" size="50" style="border-style:groove;" maxlength="100">
<input type="submit" value="Send" name="submit" class="knap">
<input type="submit" value="Log Af" onClick="parent.location.href='login.php3?action=logaf&<?print "id=".$id."&sesid=".$sesid."";?>';" class="knap" name="submit">
</td>
</tr>
</table>
</form>
<table border="0" cellspacing="2" cellpadding="0">
<tr>
<td>
<input type="submit" value="Opdatere" onClick="parent.bund.location='bund.php3?<?print "id=".$id."&sesid=".$sesid."";?>';" class="knap">
</td>
<form method="post" action="brugerliste.php3<?print "?id=".$id."&sesid=".$sesid."";?>" target="top">
<td>
<input type="submit" value="Brugerliste" class="knap">
</td>
</form>
<? if ($brugerinfo[status] >= 3){?>
<form method="post" action="top.php3<?print "?id=".$id."&sesid=".$sesid."";?>&action=admin" target="top">
<td><span class="skrift">
<? alle_kick($id); ?>
</span>
<input type="submit" name="kick" value="Kick" class="knap">
<input type="submit" name="ban" value="Ban" class="knap">
</td>
</form>
<? } ?>
</tr>
</table>
</html>