PDA

View Full Version : Need a JS program


NSX_Guy
05-13-2003, 04:53 AM
I Need a Program
Regarding: JavaScript Kit's New Multiple Choice Quiz
I need a program to to input my answers in, I have a project due to tomorrow. I tried to open the part to enter your answers, but nothing happens when iI double click it. I don't know anything about programs I need, so when I search, I'm not sure what to download.

I have the answers, just need to know how to set them in.My script is as follows:
<html>

<head>
<title>Julius Caesar Quiz</title>

<style>
.qheader{
font:bold 14px Arial;
}

.qselections{
font:normal 13px Arial;
}
</style>

<script src="quizconfig.js">
</script>

<script>

/***********************************************
* JavaScriptKit.com Multiple Choice Quiz Script (http://www.javascriptkit.com)
* Copyright 2003 JavaScript Kit- http://www.javascriptkit.com
* This notice and footnote must stay intact for use
* Visit JavaScript Kit (http://www.javascriptkit.com/) for full source code
***********************************************/

var actualchoices=new Array()
document.cookie="ready=yes"
</script>

</head>

<body bgcolor="#FFFFFF">

<!--Comments on configuring quiz script-->
<!--Change the questions below any way you want, but make note of the following:-->
<!--1) Perserve the <FORM> tags -->
<!--2a) Inside each radio button, use the VALUE attribute to denote each question's choices: "a", "b", "c" etc.-->
<!--2b) Inside each radio button, use the NAME attribute to denote which question the button belongs to ("question1", "question2" etc-->
<!--3) Script supports unlmited # of questions. Be sure to edit .js file to enter corresponding solutions-->

<p align="center">

<form method="POST" name="myquiz">

<font face="Arial"><big><big>Julius Caesar Quiz</big></big></font></p>

<div class="qheader">
1) Which characters are on stage in Act 1 Scene 1?</div>
<div class="qselections">
<input type="radio" value="a" name="question1">a) Flavius and Marullus.<br>
<input type="radio" value="b" name="question1">b) Caesar and Casca.<br>
<input type="radio" value="c" name="question1">c) Antony and Brutus.<br>
<input type="radio" value="d" name="question1">d) Flavius and Antony.<br>
</div>

<br>

<div class="qheader">
2) When the Soothsayer says, "Beware the ides of March." in Act 1 Scene 2, what are the "Ides of March"?</div>
<div class="qselections">
<input type="radio" value="a" name="question2">a) March 12.<br>
<input type="radio" value="b" name="question2">b) March 15.<br>
<input type="radio" value="c" name="question2">c) The second Sunday in March.<br>
<input type="radio" value="d" name="question2">d) The third Sunday of March.<br>
</div>

<br>

<div class="qheader">
3) Complete the flowing information: ____ Tells Brutus and Cassius that _____ offered ______ the crown _____ times.</div>
<div class="qselections">
<input type="radio" value="a" name="question3">a) Casca, Cicero, Antony, 3.<br>
<input type="radio" value="b" name="question3">b) Casca, Antony, Caesar, 2.<br>
<input type="radio" value="c" name="question3">c) Casca, Antony, Caesar, 3.<br>
<input type="radio" value="d" name="question3">d) Casca, Antony, Caesar, 4.<br>
</div>

<br>

<div class="qheader">
4) What was once called the "falling sickness" is known today as....</div>
<div class="qselections">
<input type="radio" value="a" name="question4">a) Hypochondria.<br>
<input type="radio" value="b" name="question4">b) Epilepsy.<br>
<input type="radio" value="c" name="question4">c) Diabetes.<br>
<input type="radio" value="d" name="question4">d) Narcolepsy.<br>
</div>

<br>

<div class="qheader">
5) The storm in Act 1 Scene 3 is an example of.....</div>
<div class="qselections">
<input type="radio" value="a" name="question5">a) forshadowing.<br>
<input type="radio" value="b" name="question5">b) foreboding.<br>
<input type="radio" value="c" name="question5">c) dramatic irony.<br>
<input type="radio" value="d" name="question5">d) a metaphor.<br>
</div>

<br>

<div class="qheader">
6) To try and convince Brutus that assassinating Caesar is for the good of Rome, Cassius</div>
<div class="qselections">
<input type="radio" value="a" name="question6">a) offers him money.<br>
<input type="radio" value="b" name="question6">b) throws fake letters "written" by citizens in Brutus' window.<br>
<input type="radio" value="c" name="question6">c) tells Brutus of Caesar's secret plan.<br>
<input type="radio" value="d" name="question6">d) tells Brutus Caesar is cheating with Brutus' wife.<br>
</div>

<br>

<div class="qheader">
7) Who is one of Brutus' servants?</div>
<div class="qselections">
<input type="radio" value="a" name="question7">a) Casca.<br>
<input type="radio" value="b" name="question7">b) Flavius.<br>
<input type="radio" value="c" name="question7">c) Lucius.<br>
<input type="radio" value="d" name="question7">d) Metellus<br>
</div>

<br>

<div class="qheader">
8) In Act 2 Scene 1, who knocks on Brutus' door?</div>
<div class="qselections">
<input type="radio" value="a" name="question8">a) Cassius and the conspiraors<br>
<input type="radio" value="b" name="question8">b) Caesar and Calpurnia<br>
<input type="radio" value="c" name="question8">c) Portia<br>
<input type="radio" value="d" name="question8">d) A beggar.<br>
</div>

<br>

<div class="qheader">
9) In Act 2 Scene 1, do the conspirators decide to let Cicero in on their plan?</div>
<div class="qselections">
<input type="radio" value="a" name="question9">a) No<br>
<input type="radio" value="b" name="question9">b) Yes<br>
</div>

<br>

<div class="qheader">
10) Portia kills herself by</div>
<div class="qselections">
<input type="radio" value="a" name="question10">a) eating hot coals.<br>
<input type="radio" value="b" name="question10">b) jumping off a building.<br>
<input type="radio" value="c" name="question10">c) drowing herself.<br>
<input type="radio" value="d" name="question10">d) hanging herself.<br>
</div>

<br>

<div class="qheader">
11) What year was Caesar assassinated in?</div>
<div class="qselections">
<input type="radio" value="a" name="question11">a) 44 B.C.<br>
<input type="radio" value="b" name="question11">b) 45 B.C.<br>
<input type="radio" value="c" name="question11">c) 46 B.C.<br>
<input type="radio" value="d" name="question11">d) 47 B.C.<br>
</div>

<br>

<div class="qheader">
12) Caesar's final words were:</div>
<div class="qselections">
<input type="radio" value="a" name="question12">a) et tu Brute?<br>
<input type="radio" value="b" name="question12">b) et tu Brutus?<br>
<input type="radio" value="c" name="question12">c) et tu Brutes?<br>
<input type="radio" value="d" name="question12">d) tu et Brute?<br>
</div>

<br>

<div class="qheader">
13) Who is the first to stab Caesar?</div>
<div class="qselections">
<input type="radio" value="a" name="question13">a) Casca.<br>
<input type="radio" value="b" name="question13">b) Cassius.<br>
<input type="radio" value="c" name="question13">c) Cicero.<br>
<input type="radio" value="d" name="question13">d) Cinna.<br>
</div>

<br>

<div class="qheader">
14) Cassius kills himself after he thinks</div>
<div class="qselections">
<input type="radio" value="a" name="question14">a) Brutus is captured.<br>
<input type="radio" value="b" name="question14">b) his wife is dead.<br>
<input type="radio" value="c" name="question14">c) Brutus is killed.<br>
<input type="radio" value="d" name="question14">d) they lost the war.<br>
</div>

<br>

<div class="qheader">
15) Cinna the Poet was killed because</div>
<div class="qselections">
<input type="radio" value="a" name="question15">a) he talked bad about Caesar.<br>
<input type="radio" value="b" name="question15">b) he was mistaken for Cinna the conspirator.<br>
<input type="radio" value="c" name="question15">c) spoke ill of Antony.<br>
<input type="radio" value="d" name="question15">d) he was a bad guy.<br>
</div>

<br>

<div class="qheader">
16) Who holds the sword for Brutus?</div>
<div class="qselections">
<input type="radio" value="a" name="question16">a) Metellus.<br>
<input type="radio" value="b" name="question16">b) Clitus.<br>
<input type="radio" value="c" name="question16">c) Strato.<br>
<input type="radio" value="d" name="question16">d) Lucius.<br>
</div>

<br>

<div class="qheader">
17) Artemidorus gives Caesar a scroll containing</div>
<div class="qselections">
<input type="radio" value="a" name="question17">a) a new proposed law.<br>
<input type="radio" value="b" name="question17">b) the names of the conspirators.<br>
<input type="radio" value="c" name="question17">c) a way to save Rome money.<br>
</div>

<br>

<div class="qheader">
18) The names of the conspirators are:</div>
<div class="qselections">
<input type="radio" value="a" name="question18">a) Marcus Brutus, Cassius, Casca, Trebonius, Ligarius, Decius Brutus, Metellus Cimber, and Cinna.<br>
<input type="radio" value="b" name="question18">b) Messala, Volumnius, Varro, Cassius, Casca, and Trebonius.<br>
<input type="radio" value="c" name="question18">c) Messala, Volumnius, Strato, Cassius, Casca, and Flavius.<br>
<input type="radio" value="d" name="question18">d) Pindarusm, Casca, Cicero, Trebonius, and Cassius.<br>
</div>

<br>

<div class="qheader">
19) Who is in the new triumvir</div>
<div class="qselections">
<input type="radio" value="a" name="question19">a) Brutus, Cassius, and Cicero.<br>
<input type="radio" value="b" name="question19">b) Antony, Octavious, and Lepidus.<br>
<input type="radio" value="c" name="question19">c) Cicero, Casca, and Metellus.<br>
<input type="radio" value="d" name="question19">d) Strato, Lucius, and Casca.<br>
</div>

<br>

<div class="qheader">
20) Caesar's ghost in Brutus' second dream says they will meet again in</div>
<div class="qselections">
<input type="radio" value="a" name="question20">a) Greece.<br>
<input type="radio" value="b" name="question20">b) Rome.<br>
<input type="radio" value="c" name="question20">c) Phillipi.<br>
<input type="radio" value="d" name="question20">d) Sicily.<br>
</div>

<br>

<div class="qheader">
21) Caesar left ___ drachmas to every several man.</div>
<div class="qselections">
<input type="radio" value="a" name="question21">a) 68.<br>
<input type="radio" value="b" name="question21">b) 72.<br>
<input type="radio" value="c" name="question21">c) 83.<br>
<input type="radio" value="d" name="question21">d) 75.<br>
</div>

<br>

<div class="qheader">
22) Who takes Caesar's place?</div>
<div class="qselections">
<input type="radio" value="a" name="question22">a) Antony.<br>
<input type="radio" value="b" name="question22">b) Octavius.<br>
<input type="radio" value="c" name="question22">c) Lepidus.<br>
<input type="radio" value="d" name="question22">d) None of the above.<br>
</div>

<br>

<div class="qheader">
23) Lepidus consents to his ____ having to die.</div>
<div class="qselections">
<input type="radio" value="a" name="question23">a) Sister.<br>
<input type="radio" value="b" name="question23">b) Uncle.<br>
<input type="radio" value="c" name="question23">c) father.<br>
<input type="radio" value="d" name="question23">d) brother.<br>
</div>

<br>

<div class="qheader">
24) After Cassius kills himself, Titinius</div>
<div class="qselections">
<input type="radio" value="a" name="question24">a) commits suicide.<br>
<input type="radio" value="b" name="question24">b) dies battling in anger.<br>
<input type="radio" value="c" name="question24">c) buries Cassius' body.<br>
<input type="radio" value="d" name="question24">d) swears he will avenge his death.<br>
</div>

<br>

<div class="qheader">
25) In Act 4 Scene 3, Cassius accuses Brutus of</div>
<div class="qselections">
<input type="radio" value="a" name="question25">a) taking bribes.<br>
<input type="radio" value="b" name="question25">b) stealing money.<br>
<input type="radio" value="c" name="question25">c) trying to take over the army.<br>
<input type="radio" value="d" name="question25">d) conspiring to kill Cassius.<br>
</div>

</form>

<form>
<div align="center">
<input type="button" value="Grade Me!" name="B1" onClick="gradeit()"> <input type="button" value="Reset" name="B2" onClick="document.myquiz.reset()"></div>
</form>

<p id="footnote" align="center"><font face="arial" size="-1">Quiz script provided by<br>
<a href="http://www.javascriptkit.com">JavaScriptKit.com</a></font></p>
</body>
</html>

Spookster
05-13-2003, 04:59 AM
You have already mentioned this is for a school homework assignment in the thread you previously deleted. We do not condone cheating and will not do someones homework for them nor help them cheat.

If your homework was to write a quiz script then you should be able to write it yourself. Do not take the one from JavascriptKit and then turn it in as your own work.

NSX_Guy
05-13-2003, 05:02 AM
Originally posted by Spookster
You have already mentioned this is for a school homework assignment in the thread you previously deleted. We do not condone cheating and will not do someones homework for them nor help them cheat.

If your homework was to write a quiz script then you should be able to write it yourself. Do not take the one from JavascriptKit and then turn it in as your own work.
What's your problem? Don't you understand?? I had to make a creative project fo my English class, I used YOUR tutorial so I could make this in JS, all I want to know is what program to enter the answers in in the "quizconfig.js" file.

Spookster
05-13-2003, 05:25 AM
Originally posted by NSX_Guy
What's your problem? Don't you understand?? I had to make a creative project fo my English class, I used YOUR tutorial so I could make this in JS, all I want to know is what program to enter the answers in in the "quizconfig.js" file.

What's my problem? My problem is you need to read our rules and posting guidelines and sticky threads stating MUST READ.

If all you needed was help with setting up the quiz script then why didn't you ask that? No wonder you are getting a D or F in English as you stated previously.

I think you need to use better terminology.

What you need is to know how to open the javascript files that come with the script. You can use notepad that comes with windows or any other text editor. Other than that follow the directions that come with the script.

NSX_Guy
05-13-2003, 06:06 AM
Thankyou, I got it. Sorry about earlier, and I said I would get a D or F if I didnt do it. Learn to listen.

wox3-iO
05-13-2003, 06:19 AM
If someone tries to help you, you start acting like a kid...
Anyway, try changing your js file to a txt file and then try to open it with NP. If that won't work I suggest you dl a free HTML editor such as 1st Page 2000 (http://www.evrsoft.com/)

Oh, and if you don't start behaving properly, I don't think anyone will want to help you. Think about that.

brothercake
05-13-2003, 03:07 PM
NSX_Guy - the way this thread has gone suggests that you do get the point Spookster was making, but please in future - read the posting guidelines, and be polite to people - no-one is obliged to help you.