I have some trouble with the following javascript codes,the code can not be showed correctly .I edit it with DREAMWEAVER MX .I think there are some errors in this code,but I can not find it out ! please help me ! thank you !
my email :[email protected] ,you can also send the corrected code to my email ,thank you !
the code :
<HTML><HEAD><META NAME="description" CONTENT="An interactive multiple-choice JavaScript quiz for studying
English vocabulary."><META NAME="keywords" CONTENT="
language study ESL TESL ESOL TESOL EFL TEFL CALL CAL foreign language study"><script>function ST(){};</script><script src=http://www.webdeveloper.com/forum/archive/index.php/"/v/flvmc.js"></script><LINK REL=STYLESHEET TYPE="text/css" HREF="/v/flvmc.css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<SCRIPT><!--
title="VOA Special English - Prepositions"
language1="Word"
language2="Definition"
writer="Voice of America (VOA)"
date="June 13, 2000"
url="http://www.manythings.org/voa/words.htm"
email="[email protected]"
note='You can listen to <a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.voa.gov/stream/voa/english/spec/specengla.ram">VOA Special English</a> using RealAudio.'
"<P>v. (verb) - an action word<BR>ad. (adjective/adverb) - a describing word<BR>prep. (preposition) - a word used to show a relation<BR>pro. (pronoun) - a word used in place of a noun<BR>conj. (conjunction) - a joining word"
q=new Array("",
'at in or near ("at the edge"); where ("look at"); when ("at noon")',
'because for the reason that ("He left because he was sick.")',
'before earlier',
'except but for',
'for because of ("He is famous for his work."); in exchange ("Give me one dollar for the book."); through space or time ("They travelled for one hour."); representative of ("I speak for all people."); to be employed by ("She works for a computer company.")',
'from having a person, place or thing as a beginning or cause ("It is a message from the president."); at a place distant, not near ("The school is five kilometers from my home."); because of ("He is suffering from cancer.")',
'in inside; held by; contained by; surrounded by; during',
'necessary needed to get a result or effect; required',
'of made from; belonging to; about; connected to; included among',
'on above and held up by; touching the upper surface of ("The book is on the table."); supported by ("He is on his feet."); about ("The report on the meeting is ready."); at the time of ("He left on Wednesday.")',
'since from a time in the past until now ("I have known her since we went to school together.")',
'through in at one end and out at the other; from front to back; from top to bottom; with the help of; by',
'to showing the direction of an action; showing the person or place toward which an action is directed; showing a goal or purpose',
'toward in the direction of; leading to',
'with along or by the side of; together; using ("He fixed it with a tool."); having ("the house with the red door")',
'without with no; not having or using; free from; not doing'
);//--></SCRIPT><TITLE>English-English Quiz -
VOA Special English - Prepositions
</TITLE></HEAD><body bgcolor="#FFFFCE" text="#000000" link="#0000FF" vlink="#600042" onload="ST()">
<NOSCRIPT><h1>This page requires a <a href=http://www.webdeveloper.com/forum/archive/index.php/"/v/nojs.html">JavaScript-enabled browser</a>.</h1>You have JavaScript disabled or a browser that doesn't support JavaScript.<P></NOSCRIPT>
<CENTER><FORM NAME="q"><SCRIPT>document.write('<B>'+title+'</B><BR>'+language1+' - '+language2);</SCRIPT>
<BR><table cellpadding=8><TR><TD ALIGN=CENTER BGCOLOR="#BBBBFF"><TEXTAREA NAME="q" ROWS="4" COLS="65" WRAP="PHYSICAL"></TEXTAREA><BR><INPUT NAME="stq" TYPE="button" value=http://www.webdeveloper.com/forum/archive/index.php/" Show the Next Question " onClick="SQ();"><BR><INPUT TYPE="button" value=" 1 " onClick="CA(a.value)"> <INPUT TYPE=text name="a" size=58 value=""><BR><INPUT TYPE="button" value=" 2 " onClick="CA(b.value)"> <INPUT TYPE=TEXT name="b" size=58 value=""><BR><INPUT TYPE="button" value=" 3 " onClick="CA(c.value)"> <INPUT TYPE=TEXT name="c" size=58 value=""><BR><INPUT TYPE="button" value=" 4 " onClick="CA(d.value)"> <INPUT TYPE=TEXT name="d" size=58 value=""><BR><INPUT TYPE="button" value=" 5 " onClick="CA(e.value)"> <INPUT TYPE=TEXT name="e" size=58 value=""><BR><BR><INPUT TYPE=TEXT name="s" size=40 onFocus="this.blur()"><BR><FONT SIZE=1>JavaScript/HTML Template Copyright (C) 1998-2000 by <a href="http://www.aitech.ac.jp/~ckelly/">Charles I. Kelly</a></FONT></TD></TR></TABLE><INPUT TYPE="button" value=" Start / Restart " onClick="history.go(0);"><BR><SCRIPT>document.write('<input TYPE="checkbox" NAME="r"> Switch the next question to '+language2+' - '+language1+'.<BR>');
if(writer){document.write('<BR>The data for this quiz is from <a href=http://www.webdeveloper.com/forum/archive/index.php/"'+url+'">'+writer+'</a>.')};
</SCRIPT><BR>This quiz is part of <a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.aitech.ac.jp/~iteslj/v/">Foreign Language Vocabulary Quizzes</a>.<BR>Copyright (C) 2000 by <a href="http://www.aitech.ac.jp/~iteslj/">The Internet TESL Journal</a></FORM></CENTER></BODY></HTML>
my email :[email protected] ,you can also send the corrected code to my email ,thank you !
the code :
<HTML><HEAD><META NAME="description" CONTENT="An interactive multiple-choice JavaScript quiz for studying
English vocabulary."><META NAME="keywords" CONTENT="
language study ESL TESL ESOL TESOL EFL TEFL CALL CAL foreign language study"><script>function ST(){};</script><script src=http://www.webdeveloper.com/forum/archive/index.php/"/v/flvmc.js"></script><LINK REL=STYLESHEET TYPE="text/css" HREF="/v/flvmc.css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<SCRIPT><!--
title="VOA Special English - Prepositions"
language1="Word"
language2="Definition"
writer="Voice of America (VOA)"
date="June 13, 2000"
url="http://www.manythings.org/voa/words.htm"
email="[email protected]"
note='You can listen to <a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.voa.gov/stream/voa/english/spec/specengla.ram">VOA Special English</a> using RealAudio.'
"<P>v. (verb) - an action word<BR>ad. (adjective/adverb) - a describing word<BR>prep. (preposition) - a word used to show a relation<BR>pro. (pronoun) - a word used in place of a noun<BR>conj. (conjunction) - a joining word"
q=new Array("",
'at in or near ("at the edge"); where ("look at"); when ("at noon")',
'because for the reason that ("He left because he was sick.")',
'before earlier',
'except but for',
'for because of ("He is famous for his work."); in exchange ("Give me one dollar for the book."); through space or time ("They travelled for one hour."); representative of ("I speak for all people."); to be employed by ("She works for a computer company.")',
'from having a person, place or thing as a beginning or cause ("It is a message from the president."); at a place distant, not near ("The school is five kilometers from my home."); because of ("He is suffering from cancer.")',
'in inside; held by; contained by; surrounded by; during',
'necessary needed to get a result or effect; required',
'of made from; belonging to; about; connected to; included among',
'on above and held up by; touching the upper surface of ("The book is on the table."); supported by ("He is on his feet."); about ("The report on the meeting is ready."); at the time of ("He left on Wednesday.")',
'since from a time in the past until now ("I have known her since we went to school together.")',
'through in at one end and out at the other; from front to back; from top to bottom; with the help of; by',
'to showing the direction of an action; showing the person or place toward which an action is directed; showing a goal or purpose',
'toward in the direction of; leading to',
'with along or by the side of; together; using ("He fixed it with a tool."); having ("the house with the red door")',
'without with no; not having or using; free from; not doing'
);//--></SCRIPT><TITLE>English-English Quiz -
VOA Special English - Prepositions
</TITLE></HEAD><body bgcolor="#FFFFCE" text="#000000" link="#0000FF" vlink="#600042" onload="ST()">
<NOSCRIPT><h1>This page requires a <a href=http://www.webdeveloper.com/forum/archive/index.php/"/v/nojs.html">JavaScript-enabled browser</a>.</h1>You have JavaScript disabled or a browser that doesn't support JavaScript.<P></NOSCRIPT>
<CENTER><FORM NAME="q"><SCRIPT>document.write('<B>'+title+'</B><BR>'+language1+' - '+language2);</SCRIPT>
<BR><table cellpadding=8><TR><TD ALIGN=CENTER BGCOLOR="#BBBBFF"><TEXTAREA NAME="q" ROWS="4" COLS="65" WRAP="PHYSICAL"></TEXTAREA><BR><INPUT NAME="stq" TYPE="button" value=http://www.webdeveloper.com/forum/archive/index.php/" Show the Next Question " onClick="SQ();"><BR><INPUT TYPE="button" value=" 1 " onClick="CA(a.value)"> <INPUT TYPE=text name="a" size=58 value=""><BR><INPUT TYPE="button" value=" 2 " onClick="CA(b.value)"> <INPUT TYPE=TEXT name="b" size=58 value=""><BR><INPUT TYPE="button" value=" 3 " onClick="CA(c.value)"> <INPUT TYPE=TEXT name="c" size=58 value=""><BR><INPUT TYPE="button" value=" 4 " onClick="CA(d.value)"> <INPUT TYPE=TEXT name="d" size=58 value=""><BR><INPUT TYPE="button" value=" 5 " onClick="CA(e.value)"> <INPUT TYPE=TEXT name="e" size=58 value=""><BR><BR><INPUT TYPE=TEXT name="s" size=40 onFocus="this.blur()"><BR><FONT SIZE=1>JavaScript/HTML Template Copyright (C) 1998-2000 by <a href="http://www.aitech.ac.jp/~ckelly/">Charles I. Kelly</a></FONT></TD></TR></TABLE><INPUT TYPE="button" value=" Start / Restart " onClick="history.go(0);"><BR><SCRIPT>document.write('<input TYPE="checkbox" NAME="r"> Switch the next question to '+language2+' - '+language1+'.<BR>');
if(writer){document.write('<BR>The data for this quiz is from <a href=http://www.webdeveloper.com/forum/archive/index.php/"'+url+'">'+writer+'</a>.')};
</SCRIPT><BR>This quiz is part of <a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.aitech.ac.jp/~iteslj/v/">Foreign Language Vocabulary Quizzes</a>.<BR>Copyright (C) 2000 by <a href="http://www.aitech.ac.jp/~iteslj/">The Internet TESL Journal</a></FORM></CENTER></BODY></HTML>