Hmm ist das wirklich denn so schwer??
Aber mal ne andere Frage ob das überhaupt geht so wie ich es vorhabe denn ich will die Auswertung in einer Textarea machen :
<html>
<head><title>TESTEN TESTEN TESTEN</title>
<script language=JavaScript>
function generate() /* Generation of "Compilation" */
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value='Compiling...Please wait!';
setTimeout("compile()",1000);
}
else alert('First enter something to compile and then press CompileIt')
}
function compile() /* The "Compilation" */
{
document.pad.text.value='';
compilation=escape(code);
document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
i++;
if (i=1) alert("Page compiled 1 time!");
else alert("Page compiled "+i+" times!");
}
function selectCode() /* Selecting "Compilation" for Copying */
{
if(document.pad.text.value.length>0)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert('Nothing for be selected!')
}
function preview() /* Preview for the "Compilation" */
{
if(document.pad.text.value.length>0)
{
pr=window.open("","Preview","scrollbars=1,menubar=0,status=0,width=840,height=620,left=100,top=60");
pr.document.write(document.pad.text.value);
}
else alert('Nothing for be previewed!')
}
function uncompile() /* Decompiling a "Compilation" */
{
if (document.pad.text.value.length>0)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert('You need compiled code to uncompile it!')
}
// -->
</script>
</head><center><IMG
src="test.jpg" border=0 weight=250 height=250></center>
<body background=he1.jpg><br><br><br><br><br><br>
<body><table border=0 width=100% cellspacing=0 cellpadding=0>
<tr>
<td width=100%>
<!-- Compilation Panel -->
<form method=post name=pad align=center><br><br>
<p align="center">
<textarea rows=10 name=text cols=50 style="background-color: #DEEFF7; width: 500; height: 100">
</textarea><br>
</form>
<center>
<form name="select">
<input type="button" style="cursor:hand" value="Kopieren" name="select" onClick="selectCode();document.execCommand('Copy')">
<input type="button" style="cursor:hand" value="Vorschau" name="B1" onClick="preview()";> </center>
</form>
</td>
</tr>
</table>
</center>
</BODY>
</html>
Also genau da in die Textarea und zwar sollte er mir dadrin den tatsächlichen Wert anzeigen (Farbe und Zahl) ohne Codeschnipsel, geht das ?
Wenn das ebenso geht lass ich mir das nochmal mit Apache usw. durch den Kopf gehen :)