Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / hotpot / template / v6 / jcross6print.ht_
blob37d100e747fc6037732fd8adea736727fd1b8f87
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"
3              xml:lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7 <title></title>
9 <script type="text/javascript">
11 //<![CDATA[
13 <!--
15 var strPrintExplanation = '[strPrintExplanation]';
17 function ShowMessage(){
18         alert(strPrintExplanation);
21 function ShowKey(){
22         var NList = document.getElementsByTagName('span');
23         for (var i=0; i<NList.length; i++){
24                 if (NList[i].className == 'Letter'){
25                         if (NList[i].style.display == 'inline'){
26                                 NList[i].style.display = 'none';
27                         }
28                         else{
29                                 NList[i].style.display = 'inline';
30                         }
31                 }
32         }
35 //-->
37 //]]>
39 </script>
41 <style type="text/css">
42 <!--
44 body{
45         background-color: #ffffff;
46         color: #000000;
47         font-family: [strFontFace];
48         font-size: [strFontSize];
51 div.Titles{
52         padding: 0.5em;
53         text-align: center;
56 table{
57         margin: auto;
60 table#Grid td{
61         width: 2em;
62         height: 2em;
63         text-align: center;
64         vertical-align: middle;
65         font-size: 140%;
68 table#Grid td.BlankCell{
69         width: 2em;
70         height: 2em;
71         padding: 0px;
72         text-align: center;
73         vertical-align: middle;
74         background-color: #000000;
75         color: #000000;
78 table#Grid td.LetterOnlyCell{
79         width: 2em;
80         height: 2em;
81         text-align: center;
82         vertical-align: middle;
83         background-color: #ffffff;
84         color: #000000;
87 table#Grid td.NumLetterCell{
88         width: 2em;
89         height: 2em;
90         text-align: left;
91         vertical-align: top;
92         background-color: #ffffff;
93         color: #000000;
94         padding: 1px;
97 span.Num{
98         vertical-align: super;
99         font-size: 100%;
100         font-weight: bold;
103 span.Letter{
104         font-weight: bold;
105         font-size: 140%;
106         display: none;
109 table.ClueTable{
110         padding: 0.5em;
113 .ClueNum{
114         font-weight: bold;
115         font-size: 140%;
116         padding: 0px 1em 0px 0px;
119 .Clue{
124 </style>
127 </head>
128 <body onload="ShowMessage()">
130 <div class="Titles">
131         <h2 style="cursor: pointer;" onclick="ShowKey()">[strExerciseTitle]</h2>
132 [inclExerciseSubtitle]
133         <h3 class="ExerciseSubtitle">[strExerciseSubtitle]</h3>
134 [/inclExerciseSubtitle]
135 </div>
137 <table id="Grid" border="1" cellspacing="0" cellpadding="0">
139 [StartBlankCell]
140 <td class="BlankCell">&nbsp;</td>
141 [EndBlankCell]
143 [StartLetterOnlyCell]
144 <td class="LetterOnlyCell">&nbsp;<span class="Letter">[Letter]</span></td>
145 [EndLetterOnlyCell]
147 [StartNumLetterCell]
148 <td class="NumLetterCell"><span class="Num">[ClueNum]</span>&nbsp;<span class="Letter">[Letter]</span></td>
149 [EndNumLetterCell]
151 </table>
153 <table border="0">
154 <tr>
155 <td valign="top">
156 <table border="0" class="ClueTable">
157 <tr><td colspan="2"><h3>[strCluesAcrossLabel]</h3></td></tr>
159 [StartCluesAcrossLoop]
160 <tr><td class="ClueNum">[ClueNum]</td>
161 <td class="Clue">[Clue]</td></tr>
162 [EndCluesAcrossLoop]
164 </table>
166 </td>
168 <td valign="top">
170 <table border="0" class="ClueTable">
171 <tr><td colspan="2"><h3>[strCluesDownLabel]</h3></td></tr>
173 [StartCluesDownLoop]
174 <tr><td class="ClueNum">[ClueNum]</td>
175 <td class="Clue">[Clue]</td></tr>
176 [EndCluesDownLoop]
177 </table>
179 </td>
180 </tr></table>
182 </body></html>