Sry ich habe die print function vergessen
HIER IST SIE:
function print (sText){
document.writeln(sText);
}
UND NUN DAS AUFRUFEN DER FUNKTION (KOMPLETT SCHAUTS DANN SO AUS):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Menu_System</title>
<script>
function print (sText){
document.writeln(sText);
}
function menuLine (){
var sCode =""
sCode += " <table style="border-style: solid; border-color:#ffffff; border-width:5; background:#C5C5C5;" cellspacing="0" cellpadding="0">";
sCode += " <tr>";
sCode += " <td height="1"></td>";
sCode += " </tr>";
sCode += " </table>";
}
</script>
<table>
<script>
print(menuLine ());
</script>
</table>
</head>
<body>
</body>
</html>