<script type="text/javascript">
document.write("Hello World!");
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>404 Test</title>
</head>
<script type="text/javascript" language="Javascript">
var tl=new Array(
"This script doesn't work in an article using the Chromatophore theme.",
"It works in a simple html page on the server.",
"Any idea what needs to be done to get it working?",
"Thanks!"
);
var speed=80;
var index=0; text_pos=0;
var str_length=tl[0].length;
var contents, row;
function type_text()
{
contents='';
row=Math.max(0,index-6);
while(row<index)
contents += tl[row++] + '\r\n';
document.textform.elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
if(text_pos++==str_length)
{
text_pos=0;
index++;
if(index!=tl.length)
{
str_length=tl[index].length;
setTimeout("type_text()",1500);
}
} else
setTimeout("type_text()",speed);
}
function MM_callJS(jsStr)
{
//v2.0
return eval(jsStr)
}
//-->
</script><body onload="type_text();">
<center>
<form name="textform">
<textarea cols="70" rows="8" wrap="soft" readonly>
</textarea>
<br /><br /><a href="index.php" title="Home">HOME</a><br /><br />
</form>
</body>
</html>
<body onload="type_text();">
Time to create page: 0.085 seconds