hi Leute,
ich hab das folgende Problem. Ich habe ein Online-Spiel gefunden, welches ich gerne in mein WP (neue Seite) einfügen möchte. Der HTML-Code, den ich einfügen muss, lautet folgendermaßen:
HTML
<html>
<head>
<link rel="stylesheet" href="css\Stylesheet.css">
<body>
<div align="center">
<style type="text/css">
.mntd { font-size:10px; font-family:verdana ; font-weight:plain ; background-color:#FFFFFF ; color:#7A1239 }
.symtd { font-size:17px; font-family:wingdings ; font-weight:plain ; background-color:#D79EC6 ; color:#000000 }
.symtd1 { font-size:35px; font-family:wingdings ; font-weight:plain ; background-color:#CCCCCC ; color:#000000 ; align:center}
.numtd { font-size:17px; font-family:verdana ; font-weight:plain ; background-color:#AAAAAA ; color:#7A1239 }
</style>
<script language="javascript">
ax=0;
function writeTable() {
ax=Math.round(Math.random()*26);
alphaArray=new Array("a", "n", "b", "d", "f", "h", "{", "i", "l", "v", "x", "z", "I", "J", "M", "N", "o", "O", "R", "S", "T", "U", "m", "6", "^", "u", "_", "[", "]")
table="<table border=0 cellspacing=1 cellpadding=1 width='100%'><tr>"
j=1;
for ( i = 99 ; i >= 0 ; i-- ) {
a=Math.round(Math.random()*26);
if ( i%9 == 0 && i < 89 )
a=ax;
table+="<td class='numtd'>"+i+"</td><td class='symtd'>"+alphaArray[a]+"</td>"
if ( j%10 == 0 )
table+="</tr><tr>"
j++
}
table+="</table>"
sym.innerHTML=table
sh.innerHTML=""
}
function showAnswer() {
sh.innerHTML=alphaArray[ax]
sym.innerHTML="<h1><a href='javascript:writeTable()'>Nochmal</a></h1>"
}
</script>
</head>
<body onLoad="writeTable();window.resizeTo(850,530)" topmargin=0 leftmargin=0>
<center><b><u><font face=arial size=5>Gedankenleser</font></u></b><br><font face=arial size=2>Dieses Programm kann Ihre Gedanken lesen, probieren Sie�s aus!</font><br></center>
<table border="0" cellspacing="1" cellpadding="1" width="770">
<tr><td width="100%" bgcolor="#BBBBBB" valign="top" class="mntd">
<ul type="circle">
<li>Nehmen Sie eine beliebige zweistellige Zahl, z.B. 54<br>
<li>Ziehen Sie beide Ziffern von der Zahl ab, um ein <b>Ergebnis</b> zu erhalten (Beispiel: 54 - 5 - 4 = 45)<br>
<li>Suchen Sie das Symbol, das Ihrem Ergebnis entspricht<br>
<li><b>Konzentrieren Sie sich</b> auf das Symbol und klicken Sie auf das magische Quadrat um Ihre Gedanken zu sehen..<br>
</ul>
<p>
<table border=4 cellspacing=1 cellpadding=1 width="80" height="80" align="center" style="cursor:hand" onClick='showAnswer()'>
<tr><td id="sh" class="symtd1" align=center> </td></tr></table>
</p>
</td></tr>
<tr><td align="center" width="100%" valign="middle" id="sym">
</td></tr>
</table>
</div>
</body>
</html>
Alles anzeigen
Ich hab natürlich auch den css-File. Wenn ich den Ordner mit der Datei im Hauptverzeichnis erstelle, geht es nicht. Wo muss ich den Ordner dannn hintun, oder ist es mit WP nicht möglich, eine Seite mit CSS zu erstellen?