The source
(please avoid line breaks!)
<HTML>
<HEAD>
<!C- hide this script
tag's contents from old browsers>
<SCRIPT LANGUAGE="JavaScript">
answer1="They have a very
small grain-size and therefore a high surface-to-volume ratio. There are
also some structural features, but that is behind scope for that course.";
answer2="Because they are
so small you cannot use a microscope. X-ray diffraction is the means of
choice!";
function replace(text1,wherefrom){
wherefrom.value="Your answer: " + wherefrom.value + "
\nOur suggestion: "+text1;
}
</script>
<!-- done hiding
from old browsers -->
<body>
.... your html here
<form>
<b>Why are clay minerals
so reactive?</b><br>
<TEXTAREA rows=3 cols=50
wrap=virtual name="question1" onFocus=this.value="" onChange=replace(answer1,this)>"Please,
type your answer here!"</TEXTAREA> </P>
<b>How can clay minerals
be identified?</b><br>
<TEXTAREA rows=3 cols=50
wrap=virtual name="question1" onFocus=this.value="" onChange=replace(answer2,this)>"Please,
type your answer here!"</TEXTAREA> </P>
</form>
.... your html here
</body>
</html>
|