Rev 12150 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 12150 | Rev 12523 | ||
|---|---|---|---|
| Line 8... | Line 8... | ||
| 8 | !set convert_root=0 |
8 | !set convert_root=0 |
| 9 | !endif |
9 | !endif |
| 10 | !if $use_ineq != 1 |
10 | !if $use_ineq != 1 |
| 11 | !set use_ineq=0 |
11 | !set use_ineq=0 |
| 12 | !endif |
12 | !endif |
| 13 | <script |
13 | <script> |
| 14 | //<![CDATA[ |
14 | //<![CDATA[ |
| 15 | <!-- no validator --> |
15 | <!-- no validator --> |
| 16 | var descr_list="$description";var descr_cnt = 30;var description = make_description(descr_list,descr_cnt);function dontknow(){myConfirm('$dontknow','?','$wims_ref_name','$session','$module','$counter','$nok_send_color');} |
16 | var descr_list="$description";var descr_cnt = 30;var description = make_description(descr_list,descr_cnt);function dontknow(){myConfirm('$dontknow','?','$wims_ref_name','$session','$module','$counter','$nok_send_color');} |
| 17 | function sendanswer(){ |
17 | function sendanswer(){ |
| 18 | var input; |
18 | var input; |
| Line 243... | Line 243... | ||
| 243 | !if $wims_user=supervisor |
243 | !if $wims_user=supervisor |
| 244 | !set answer_n=!lines2items $(answer$n) |
244 | !set answer_n=!lines2items $(answer$n) |
| 245 | <input type="button" id="schaersvoorde_extra_button" onclick="document.getElementById('JSMathView').value = '$answer_n';doMathSrc(1);" value="$wims_firstname $wims_lastname" /> |
245 | <input type="button" id="schaersvoorde_extra_button" onclick="document.getElementById('JSMathView').value = '$answer_n';doMathSrc(1);" value="$wims_firstname $wims_lastname" /> |
| 246 | !endif |
246 | !endif |
| 247 | </div> |
247 | </div> |
| 248 | <script |
248 | <script> |
| 249 | //<![CDATA[ |
249 | //<![CDATA[ |
| 250 | <!-- no validator --> |
250 | <!-- no validator --> |
| 251 | "use strict"; |
251 | "use strict"; |
| 252 | var uni2wims = {'\u00B1':' pm ','\u2227':' and ','\u2228':' or ','\u2264':' <= ','\u2265':' >= ','\u2212':'-','\u221A':' sqrt ','\u20AC':' euro ','\u03C0':' pi ','\u2208':' in ','\u2209':' notin ','\u21d0':' <= ','\u21D2':' => ','\u27F6':' --> ','\u2190':' <- ','\u2192':' -> ','\u2194':' <-> ','\u21D4':' <=> ','\u2211':' SUM ','\u221E':' inf ','\u222B':' int ','\u2329':' langle ','\u232A':' rangle ','\u2203':' exist ','\u2200':' forall ','\u00ac':' not ','\u22a4':' true ','\u22a5':' false ','\u2254':' equiv ','\u2261':' defined ','\u22a2':' proved ','\u22a8':' entails ','\u222a':' union ','\u2282':' subset ','\u2229':' intersection ','\u2204':' notexist ','\u2295':' xor ','\u2205':' empty ','\u29F5':' \ ','\u2236':':','\u2234':' therefore ','\u2235':' because '};var lang="$lang" || "$taal";var num_button_tabs = 8;var JSMathView = document.getElementById("JSMathView");var show_it = document.getElementById("show_it"); var clear_it = document.getElementById("clear_it");var math_out = document.getElementById("math_out");var math_font_size = 1.1;var my_wims_mathml=document.getElementsByTagName('math');var my_mathml_len = my_wims_mathml.length;var mathviewpanel ="$mathviewpanel";mathviewpanel = mathviewpanel.split(':');if(mathviewpanel.length > 1){ var opt = document.getElementById('math_op0');for(var i=1; i<= num_button_tabs ;i++){if(mathviewpanel[i]){(function(){var paneltxt = conv_wims2uni(mathviewpanel[i]) ;var td = document.createElement('td');var id = i-1;td.setAttribute('id','mypanel'+id);opt.appendChild(td);td.addEventListener('click',function(e){ button(paneltxt);},false);td.innerHTML = paneltxt;}());};};}; |
252 | var uni2wims = {'\u00B1':' pm ','\u2227':' and ','\u2228':' or ','\u2264':' <= ','\u2265':' >= ','\u2212':'-','\u221A':' sqrt ','\u20AC':' euro ','\u03C0':' pi ','\u2208':' in ','\u2209':' notin ','\u21d0':' <= ','\u21D2':' => ','\u27F6':' --> ','\u2190':' <- ','\u2192':' -> ','\u2194':' <-> ','\u21D4':' <=> ','\u2211':' SUM ','\u221E':' inf ','\u222B':' int ','\u2329':' langle ','\u232A':' rangle ','\u2203':' exist ','\u2200':' forall ','\u00ac':' not ','\u22a4':' true ','\u22a5':' false ','\u2254':' equiv ','\u2261':' defined ','\u22a2':' proved ','\u22a8':' entails ','\u222a':' union ','\u2282':' subset ','\u2229':' intersection ','\u2204':' notexist ','\u2295':' xor ','\u2205':' empty ','\u29F5':' \ ','\u2236':':','\u2234':' therefore ','\u2235':' because '};var lang="$lang" || "$taal";var num_button_tabs = 8;var JSMathView = document.getElementById("JSMathView");var show_it = document.getElementById("show_it"); var clear_it = document.getElementById("clear_it");var math_out = document.getElementById("math_out");var math_font_size = 1.1;var my_wims_mathml=document.getElementsByTagName('math');var my_mathml_len = my_wims_mathml.length;var mathviewpanel ="$mathviewpanel";mathviewpanel = mathviewpanel.split(':');if(mathviewpanel.length > 1){ var opt = document.getElementById('math_op0');for(var i=1; i<= num_button_tabs ;i++){if(mathviewpanel[i]){(function(){var paneltxt = conv_wims2uni(mathviewpanel[i]) ;var td = document.createElement('td');var id = i-1;td.setAttribute('id','mypanel'+id);opt.appendChild(td);td.addEventListener('click',function(e){ button(paneltxt);},false);td.innerHTML = paneltxt;}());};};}; |
| 253 | function show_button_row(row){hide_button_row();document.getElementById("math_op"+row).style.display = 'table-row';adapt_width();}; |
253 | function show_button_row(row){hide_button_row();document.getElementById("math_op"+row).style.display = 'table-row';adapt_width();}; |