Preview here: http://www.originmedia.net/script.htm
Code here (Unstyled unlike example for easy merge into script!):
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Cantr II</title>
<STYLE TYPE="text/css">
<!--
A:link {text-decoration: none}
A:visited {text-decoration: none}
A:active {text-decoration: none}
-->
</STYLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript" type="text/javascript">
function addtext() {
var newtext = " (<CANTR CHARDESC>)";
document.form.name.value += newtext;
}
</script>
</head>
<body>
<TABLE WIDTH=700><TR HEIGHT=20><TD COLSPAN=0 BGCOLOR=#004400></TD></TR><TR><TD COLSPAN=0 BGCOLOR=#008800 ALIGN=center><FONT FACE="Verdana, Arial, Helvetica" SIZE=3><B>CHANGE NAME</B></TD></TR><TR HEIGHT=20><TD COLSPAN=0 BGCOLOR=#004400></TD></TR></TABLE></CENTER><TABLE WIDTH=700><TR><TD>Instead of the short description of this character on the events list or on the people overview page, you can enter a name by which you know this person:<BR><FORM Name="form" METHOD=post ACTION="index.php?s=71735102&page=name"><INPUT TYPE=hidden NAME=id VALUE=XXXXX><INPUT TYPE=hidden NAME=type VALUE=1><INPUT TYPE=hidden NAME=next VALUE=char.events>Name: <INPUT TYPE=text SIZE=54 VALUE="" NAME=name> <INPUT TYPE=submit CLASS=button_charmenu VALUE="Change"><input type="button" value="Add (<CANTR CHARDESC>)" onClick="addtext();"></FORM><BR>If you want to give a character a name, but would still like to get the description, you can include<BR><BR><CANTR CHARDESC><BR><BR>For example:<br><i>John Hopkins (<CANTR CHARDESC>)</i><br>could look like<br><i>John Hopkins (a man in his twenties).</i><BR></TD></TR><TR><TD ALIGN=center><BR><BR><A HREF="index.php?s=71735102&page=char.people">Go back</A></TD></TR></TABLE>
</body>
</html>I just copied and pasted the result page source, so it will need a little bit of work to integrate. Only real change is that the form needs labeling "form" and the script and button code needs adding. That should be all!
The Theorist

