Rev 6130 | Rev 8491 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6130 | Rev 8490 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | !set disable_zoom=yes |
- | |
2 | !! no mathml zooming in dynapi |
1 | !! no mathml zooming in dynapi |
- | 2 | !set disable_zoom=yes |
|
- | 3 | !set dynapi_agent=!lowercase $httpd_HTTP_USER_AGENT |
|
- | 4 | ||
- | 5 | !if chrome isin $dynapi_agent or trident isin $dynapi_agent or android isin $dynapi_agent |
|
- | 6 | !set disable_mathml=1 |
|
- | 7 | !reset dynapi_size_hack |
|
- | 8 | !else |
|
- | 9 | !set dynapi_size_hack=\size[80] |
|
- | 10 | !endif |
|
- | 11 | ||
3 | !if $wims_dynapi=loaded |
12 | !if $wims_dynapi=loaded |
4 | !exit |
13 | !exit |
5 | !endif |
14 | !endif |
6 | !set wims_dynapi=loaded |
15 | !set wims_dynapi=loaded |
7 | 16 | ||
8 | <script type="text/javascript" src="scripts/js/dynapi3x/src/dynapi.js"></script> |
17 | <script type="text/javascript" src="scripts/js/dynapi3x/src/dynapi.js"></script> |
9 | <script type="text/javascript"> |
18 | <script type="text/javascript"> |
10 | dynapi.library.setPath('scripts/js/dynapi3x/src/'); |
19 | dynapi.library.setPath('scripts/js/dynapi3x/src/'); |
11 | dynapi.library.include('dynapi.api'); |
20 | dynapi.library.include('dynapi.api'); |
12 | dynapi.library.include('dynapi.api.ext.DragEvent') |
21 | dynapi.library.include('dynapi.api.ext.DragEvent') |
13 | !if $wims_html_onload!=$empty |
22 | !if $wims_html_onload!=$empty |
14 | dynapi.onLoad(function() {$wims_html_onload}); |
23 | dynapi.onLoad(function() {$wims_html_onload}); |
15 | !endif |
24 | !endif |
16 | </script> |
25 | </script> |
17 | 26 |