Missing file for TT 3.05
"Ken Kahn" <[email protected]> Thu, 18 Sep 2003 13:33:11 +0100
| Newsgroups | gmane.education.weblabs.requests |
|---|---|
| Message-ID | <05ce01c37de1$099d4040$4cc06951@LAP68> |
Hi folks. I forgot to upload the attached HTML file. It should fix the problems that Gordon reported about odd user names and time travel not working with a default user. (If not let me know.) If you are running the English version of ToonTalk then just put the attached in the Doc\English subdirectory of the ToonTalk installation. If you are running the Swedish or Portuguese versions then you can put the file in Doc\Swedish or Doc\PT as appropriate. Note that this page is in English. If I get Swedish and Portuguese translations of the following I can send new HTML pages: "I want to be able to travel in time even though it may slow ToonTalk down. I might want to undo mistakes or replay what I just did. Click here for more help." Also if anyone has wordsmithing suggestions to improve the above let me know. Best, -ken ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Remanufactured Ink Cartridges & Refill Kits at MyInks.com for: HP $8-20. Epson $3-9, Canon $5-15, Lexmark $4-17. Free s/h over $50 (US & Canada). http://www.c1tracking.com/l.asp?cid=6351 http://us.click.yahoo.com/0zJuRD/6CvGAA/qnsNAA/o1XolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
askname.htm
(text/html, 4 KB)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>What is your name?</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link rel="stylesheet" type="text/css" href="../dialog.css">
<script language="javascript" id="clientEventHandlersJS">
<!--
var parameters = null; // changed on 011002
function currentParameter(name) {
if (parameters == null) { // new on 011002
if (typeof window.dialogArguments == "undefined") {
return("***DEFINED ONLY WHEN RUN FROM TOONTALK***")
};
parameters = window.dialogArguments.split(";")
};
for (var i = 0; i < parameters.length; i = i+2) {
if (parameters[i] == name) {
return(parameters[i+1]) // like an alist
}
};
return(0) // just in case
}
function agentTest() {
// translators -- ignore this section for now
AgentControl.Connected = true // temp patch for IE4 PP1 -- really needed?
AgentControl.Characters.Load("Peedy", "C:\\WINNT\\msagent\\chars\\peedy.acs");
// Note that JScript strings require 2 slashes for every single slash in a string
Peedy = AgentControl.Characters.Character("Peedy")
// Note that use of the Character method, which is optional in VBScript, is required in JScript
Peedy.Get("state", "Showing, Speaking")
Peedy.Get("animation", "Greet, GreetReturn")
Peedy.Show(); // Unlike VBScript, JScript requires parens even in the absence of arguments
// Peedy.Speak("The number is " + UserName.left);
Peedy.Get("state","Hiding")
Peedy.MoveTo(350,200);
Peedy.Play("Greet");
Peedy.Speak('Welcome to ToonTalk! What is your name?');
// Peedy.Play("GreetReturn");
Peedy.Speak("And how do you want to look?");
Peedy.Play("GestureRight");
}
function loadBody() {
//get the arguments
// var arrArgs = new Array();
// arrArgs = window.dialogArguments.split(";");
UserName.value = currentParameter("old_name"); // was window.dialogArguments;
UserName.select();
TimeTravel.checked = (currentParameter("time_travel_enabled") != "0");
// agentTest();
}
function sendBack(which_button) {
window.returnValue = "-n " + UserName.value + " -h " + which_button; // order matters if old user name and changing head appearance
if (TimeTravel.checked) {
window.returnValue = window.returnValue + ' -time_travel_enabled 1';
} else {
window.returnValue = window.returnValue + ' -time_travel_enabled 0';
};
window.close();
}
//-->
</script>
</head>
<body onload="loadBody()">
<OBJECT id="AgentControl" codeBase="#VERSION=2,0,0,0" classid="clsid:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F"
VIEWASTEXT>
</OBJECT>
<p align="center">Hi. Please type your name.</p>
<p align="center"><input id="UserName" type="text" class="text" size="171" value="No Name" name="UserName"
style="WIDTH: 630px; HEIGHT: 44px"></p>
<p align="center">Then click on one of these pictures:</p>
<p align="center">
<input id="image3" type="image" onclick="sendBack('1')" name="LongHair" src="../hairhead.jpg"
alt="Long Hair" style="BORDER-TOP-STYLE: outset; BORDER-RIGHT-STYLE: outset; BORDER-LEFT-STYLE: outset; BORDER-BOTTOM-STYLE: outset"
WIDTH="64" HEIGHT="61"> <input id="Image1" onclick="sendBack('2')" style="BORDER-TOP-STYLE: outset; BORDER-RIGHT-STYLE: outset; BORDER-LEFT-STYLE: outset; BORDER-BOTTOM-STYLE: outset"
type="image" alt="Hat" src="../hathead.jpg" name="Hat" WIDTH="58" HEIGHT="65">
<input id="Image2" onclick="sendBack('0')" style="BORDER-TOP-STYLE: outset; BORDER-RIGHT-STYLE: outset; BORDER-LEFT-STYLE: outset; BORDER-BOTTOM-STYLE: outset"
type="image" alt="Bald" src="../baldhead.jpg" name="Bald" WIDTH="64" HEIGHT="54">
</p>
<DIV><INPUT id="TimeTravel" type="checkbox" name="TimeTravel">I want to be able to
travel in time even though it may slow ToonTalk down. I might want to undo
mistakes or replay what I just did. <A href="ttravel.htm">Click here</A> for
more help.</DIV>
</body>
</html>