Tedious is right. Much has changed, fortunately there's no need to edit the TypingText.js file. Use this for the page:
Code:
<!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>DREAM/NET - Terminal</title>
<link type="text/css" href="style.css" rel="stylesheet" />
<script type="text/javascript" src="TypingText.js">
/****************************************************
* Typing Text script- By Twey @ Dynamic Drive Forums
* Visit Dynamic Drive for this script and more: http://www.dynamicdrive.com
* This notice MUST stay intact for legal use
****************************************************/
</script>
</head>
<body>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD HEIGHT="35"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="105" HEIGHT="35"><TR><TD> </TD></TR></TABLE></TD>
<TD VALIGN="top"> </TD>
</TR>
<TR>
<TD><IMG SRC="images/spacer.gif" HEIGHT="408" WIDTH="1"></TD>
<TD VALIGN="top" HEIGHT="408">
DREAM/NET - Terminal<BR><BR>
<A HREF="javascript:run_system_boot();" onclick="return TypingText.dreamOne('boot');" CLASS="termopen">> run system boot </A><BR>
<A HREF="javascript:run_mail_system();" onclick="return TypingText.dreamOne('mail');" CLASS="termopen">> run mail system </A><BR>
<A HREF="javascript:run_dream_casts();" onclick="return TypingText.dreamOne('cast');" CLASS="termopen">> run dream casts </A><BR><BR><BR>
<div id="boot">c:\>admin\dreamnet.sys<BR>
loading..................<BR><br />
If it's come to this, you are the last of the few. This <br />
dream/net terminal is the only survivng network of dream <br />
casts. Initially a global web of recorded memories, the <br />
dream/net has become our sole refuge from The Hype. <br /><br />
Survivors upload dream casts to remind the resistance <br />
what we are all fighting for. Without dreams we have <br />
no past, no present, and no future. <br /><br />
DOWN WITH THE HYPE!!!<BR />
LONG LIVE THE DREAMERS!!!</div>
<div id="mail">c:\>admin\dreamail.exe<BR>
login: techiro_wantanabe<BR>
pass: ********<br /><br />
-FROM: Rich N Seyi <br />
-SUBJECT: DONT BELIEVE THE HYPE!!<br />
LONG LIVE THE DREAMERS!!!</div>
<div id="cast">c:\>dreamcasts\dir<BR>
loading..................<BR><br />
>> DREAM CAST 0100: HOLD ME DOWN <br />
>> DREAM CAST 0201: RELAX <br />
>> DREAM CAST 0013: MONSTER </div>
<div id="text1"> </div>
<div id="text2"> </div>
<div id="text3"> </div>
<TR>
<TD></TD><TD CLASS="disclaimer">
Note/Disclaimer: No data of any kind is transmitted to any kind of<BR>
server or service. The Hype are watching...<BR>
</TD>
</TR>
</TABLE>
<P CLASS="keywords"><FONT COLOR="#222222">KEYWORDS: JS/UIX, JavaScript virtual UN*X, JavaScript virtual OS, JavaScript virtual Operating System, virtual Operating System for web browsers, JavaScript UNIX emulator<BR>http://www.masswerk.at/jsuix/ by Norbert Landsteiner</FONT></P>
<DIV ID="termDiv" STYLE="position:absolute; top:20; left:100;"></DIV>
<DIV ID="termKbdDiv" STYLE="position:absolute; top:290; left:100;visibility:hidden"></DIV>
<script type="text/javascript">
(function(){
var ids = ['boot', 'mail', 'cast'], // set id's of your typeing text divisions
cursor = function(i){ var ar = ['_', ' ']; return ' ' + ar[i.length % ar.length];}, // set function for the cursor
/////////////////// No Nedd to Edit Below Here ///////////////////
tt = TypingText, el = function(id, s){return s? document.getElementById(id).style : document.getElementById(id);},
finished = function(){this.inprocess = false;}, i = ids.length - 1,
wipe = function(){
var i = ids.length - 1, id;
for (i; i > -1; --i){
el((id = ids[i]), 1).display = 'none';
if(tt[id].inprocess){tt[id].currentChar = tt[id].origText.length;}
}
};
tt.dreamOne = function(which){
wipe();
tt[which].run();
tt[which].inprocess = true;
el(which, 1).display = 'block';
return false;
};
for (i; i > -1; --i){tt[ids[i]] = new tt(el(ids[i]), 100, cursor, finished);}
})();
</script>
</BODY>
</HTML>
Any questions, feel free to ask. I did try to anticipate how it should work. If I missed anything, let me know. See the comments near the beginning of the script at the end of the page for two configuration options. These I also set as it appears currently required.
Bookmarks