summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/interactiveworkbook/epsfiles/rightcheckcorrect.eps
blob: 53db7e02b12d3090c9ab9bc122fbbac34f91d659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  CORRECT ANSWERS CHECKED OFF IN CHECK BOXES
%  WHEN ON CORRECT (RIGHT) RESPONSE PAGE
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 90 30
%%EndProlog

[
    /T (Right_Check_Correct_Button)
    /Rect [0 0 90 30]
    /Subtype /Widget
    /F 4
    /FT /Btn
    /Ff 65540
    /H /P
    /AP << /N {Answer_Up} /D {Answer_Down} >>
    /Action <<
        /Subtype /JavaScript
        /JS(
            var undefined;
            function showRightAnswer\(inAnswerName, inCorrectName\) {
                var theAnswerField = this.getField\(inAnswerName\);
                var theCorrectField = this.getField\(inCorrectName\);
                if \( theAnswerField != undefined \) {
                    theAnswerField.value = theCorrectField.value;
                }
            }

            for \(theCount = 1; theCount < 6; theCount++\) {
                if \( "pagetwocheck"+theCount != undefined \)
                    showRightAnswer\("pagetwocheck"+theCount, "checkanswer"+theCount\);
            }
        )
    >>
/ANN pdfmark
%%EOF