Rev 14966 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13473 | obado | 1 | !if $wims_dynapi=loaded |
13474 | bpr | 2 | !exit |
13473 | obado | 3 | !endif |
4 | !set wims_dynapi=loaded |
||
5 | |||
8490 | bpr | 6 | !! no mathml zooming in dynapi |
5578 | schaersvoo | 7 | !set disable_zoom=yes |
8490 | bpr | 8 | !set dynapi_agent=!lowercase $httpd_HTTP_USER_AGENT |
9 | |||
15597 | bpr | 10 | !if dynapi3 isin $ans_require |
13473 | obado | 11 | !if chrome isin $dynapi_agent or trident isin $dynapi_agent or android isin $dynapi_agent |
12 | !set disable_mathml=1 |
||
13 | !endif |
||
8490 | bpr | 14 | !endif |
8491 | bpr | 15 | !set wims_texbasesize=5 |
8490 | bpr | 16 | |
13473 | obado | 17 | <script src="scripts/js/dynapi3x/src/dynapi.js"></script> |
18 | <script> |
||
11233 | bpr | 19 | /*<![CDATA[*/ |
1141 | bpr | 20 | dynapi.library.setPath('scripts/js/dynapi3x/src/'); |
20 | reyssat | 21 | dynapi.library.include('dynapi.api'); |
13473 | obado | 22 | dynapi.library.include('dynapi.api.ext.DragEvent'); |
20 | reyssat | 23 | !if $wims_html_onload!=$empty |
13473 | obado | 24 | dynapi.onLoad(function() {$wims_html_onload}); |
20 | reyssat | 25 | !endif |
11233 | bpr | 26 | /*]]>*/ |
20 | reyssat | 27 | </script> |