summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/interactiveworkbook/epsfiles/radiosubmit.eps
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/interactiveworkbook/epsfiles/radiosubmit.eps')
-rw-r--r--Master/texmf-dist/doc/latex/interactiveworkbook/epsfiles/radiosubmit.eps45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/interactiveworkbook/epsfiles/radiosubmit.eps b/Master/texmf-dist/doc/latex/interactiveworkbook/epsfiles/radiosubmit.eps
new file mode 100644
index 00000000000..dfa970114b6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/interactiveworkbook/epsfiles/radiosubmit.eps
@@ -0,0 +1,45 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% RADIO SUBMIT BUTTON: COMPARE "GUESSED" QUESTION TAKER ANSWER WITH
+% "CORRECT" QUESTION GIVER ANSWER AND
+% THEN GO TO CORRECT RESPONSE OR
+% INCORRECT RESPONSE PAGE, ACCORDINGLY
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%!PS-Adobe-3.0 EPSF-3.0
+%%BoundingBox: 0 0 90 30
+%%EndProlog
+[
+ /T (Radio_Submit_Button)
+ /Rect [0 0 90 30]
+ /Subtype /Widget
+ /F 4
+ /FT /Btn
+ /Ff 65540
+ /H /P
+ /AP << /N {Submit_Up} /D {Submit_Down} >>
+ /Action <<
+ /Subtype /JavaScript
+ /JS(
+ this.pageNum = 0;
+ var isRight = true;
+ var undefined;
+
+ function adjustIsRight\(inAnswerName, inCorrectName\) {
+ var theAnswerField = this.getField\(inAnswerName\);
+ var theCorrectField = this.getField\(inCorrectName\);
+ if \( theAnswerField != undefined \) {
+ if \( theAnswerField.value != theCorrectField.value \) { isRight = false; }
+ }
+ }
+
+ for \(theCount = 1; theCount < 6; theCount++\) {
+ if \( "pageoneradio"+theCount != undefined \)
+ adjustIsRight\("pageoneradio"+theCount, "radioanswer"+theCount\);
+ }
+
+ if \(isRight==true\) { this.pageNum = 1; } else { this.pageNum = 2; }
+ )
+ >>
+/ANN pdfmark
+%%EOF