File:  [LON-CAPA] / loncom / html / adm / jsMath / jsMath-autoload.html
Revision 1.1: download - view: text, annotated - select for diffs
Mon Mar 27 19:32:07 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: HEAD
-jsMath 3.2

    1: <html>
    2: <head>
    3: <!--
    4:  | jsMath-autoload.html
    5:  |
    6:  | Part of the jsMath package for mathematics on the web.
    7:  | 
    8:  | This file is used for loading jsMath.js and other components
    9:  | when the "autoload" plugin is used.
   10:  | 
   11:  | ---------------------------------------------------------------------
   12:  | 
   13:  | Copyright 2004-2006 by Davide P. Cervone
   14:  |
   15:  | Licensed under the Apache License, Version 2.0 (the "License");
   16:  | you may not use this file except in compliance with the License.
   17:  | You may obtain a copy of the License at
   18:  |
   19:  |     http://www.apache.org/licenses/LICENSE-2.0
   20:  |
   21:  | Unless required by applicable law or agreed to in writing, software
   22:  | distributed under the License is distributed on an "AS IS" BASIS,
   23:  | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   24:  | See the License for the specific language governing permissions and
   25:  | limitations under the License.
   26: -->
   27: </head>
   28: <body>
   29: 
   30: <script>
   31:   window.jsMath = window.parent.jsMath;
   32:   document.write('<script src="'+jsMath.Autoload.Script.url+'"><'+'/script>');
   33: </script>
   34: 
   35: <script>
   36: if (window.jsMath) {
   37:   if (document.readyState == 'loading') {
   38:     // work around bug in OmniWeb 4.5 that would otherwise run this twice.
   39:     setTimeout("jsMath.Autoload.Script.endLoad();",1)
   40:   } else {
   41:     jsMath.Autoload.Script.endLoad();
   42:   }
   43: }
   44: </script>
   45: 
   46: </body>
   47: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>