Diff for /loncom/html/adm/jsMath/jsMath-controls.html between versions 1.2 and 1.3

version 1.2, 2006/05/17 22:19:27 version 1.3, 2007/10/09 21:29:16
Line 9 Line 9
  |    | 
  | ---------------------------------------------------------------------   | ---------------------------------------------------------------------
  |    | 
  | Copyright 2004-2006 by Davide P. Cervone   | Copyright 2004-2007 by Davide P. Cervone
  |   |
  | Licensed under the Apache License, Version 2.0 (the "License");   | Licensed under the Apache License, Version 2.0 (the "License");
  | you may not use this file except in compliance with the License.   | you may not use this file except in compliance with the License.
Line 41  while (!window.jsMath && !showWarning) { Line 41  while (!window.jsMath && !showWarning) {
     //      //
     if (pageDomain.match(/\..*\./) &&      if (pageDomain.match(/\..*\./) &&
         (navigator.appName != 'Microsoft Internet Explorer' ||          (navigator.appName != 'Microsoft Internet Explorer' ||
          navigator.platform != 'MacPPC' || !navigator.userProfile || !document.all)) {           !navigator.platform.match(/Mac/) || !navigator.userProfile || !document.all)) {
       try {        try {
         document.domain = pageDomain.replace(/^[^.]*\./,'');          document.domain = pageDomain.replace(/^[^.]*\./,'');
         showWarning = 0;          showWarning = 0;
Line 87  jsMath.Add(jsMath.Controls,{ Line 87  jsMath.Add(jsMath.Controls,{
   
   Main: function () {    Main: function () {
     this.oldCookie = {}; jsMath.Add(this.oldCookie,this.cookie);      this.oldCookie = {}; jsMath.Add(this.oldCookie,this.cookie);
     this.panel.innerHTML = ""; // for MSIE on the Mac      this.GetPanel("panel");
     if (jsMath.browser == 'Mozilla') {  
       this.panel.appendChild(document.getElementById("jsMath_panel").cloneNode(true));  
     } else {  
       this.panel.innerHTML = document.getElementById("jsMath_panel").innerHTML;  
     }  
   
     jsMath.Element("_version").innerHTML = jsMath.version;      jsMath.Element("_version").innerHTML = jsMath.version;
   
Line 133  jsMath.Add(jsMath.Controls,{ Line 128  jsMath.Add(jsMath.Controls,{
   
     this.panel.style.display = "block";      this.panel.style.display = "block";
     this.openMain = 0;      this.openMain = 0;
   
       if (jsMath.Browser.msieMoveButtonHack) {
         this.panel.style.left = "0px";
         this.panel.style.top = "0px";
         jsMath.Controls.MoveButton();
       }
   },    },
   
   Options: function () {    Options: function () {
     this.panel.innerHTML = ""; // for MSIE on the Mac      this.GetPanel("options");
     if (jsMath.browser == 'Mozilla') {  
       this.panel.appendChild(document.getElementById("jsMath_options").cloneNode(true));  
     } else {  
       this.panel.innerHTML = document.getElementById("jsMath_options").innerHTML;  
     }  
     jsMath.Element("_scale").value = this.cookie.scale;      jsMath.Element("_scale").value = this.cookie.scale;
     jsMath.Element("_keep").value = this.cookie.keep;      jsMath.Element("_keep").value = this.cookie.keep;
     jsMath.Element("_global").value = this.cookie.global;      jsMath.Element("_global").value = this.cookie.global;
Line 177  jsMath.Add(jsMath.Controls,{ Line 173  jsMath.Add(jsMath.Controls,{
       jsMath.Element("_globalText").className = "disabled";        jsMath.Element("_globalText").className = "disabled";
       jsMath.Element("_global").disabled = true;        jsMath.Element("_global").disabled = true;
     }      }
       if (jsMath.isCHMmode) {
         jsMath.Element("_asynchText").className  = "disabled";
         jsMath.Element("_asynch").disabled = true;
       }
   
     if (jsMath.Browser.safariButtonBug) {      if (jsMath.Browser.safariButtonBug) {
       for (var id in this.optionLabels)        for (var id in this.optionLabels)
Line 184  jsMath.Add(jsMath.Controls,{ Line 184  jsMath.Add(jsMath.Controls,{
     }      }
   
     this.panel.style.display = "block";      this.panel.style.display = "block";
   
       if (jsMath.Browser.msieMoveButtonHack) {
         this.panel.style.left = "0px";
         this.panel.style.top = "0px";
         jsMath.Controls.MoveButton();
       }
     },
   
     GetPanel: function (name) {
       this.panel.innerHTML = ""; // for MSIE on the Mac
       if (jsMath.browser == 'Mozilla') {
         this.panel.appendChild(document.getElementById("jsMath_"+name).cloneNode(true));
       } else {
         this.panel.innerHTML = document.getElementById("jsMath_"+name).innerHTML;
       }
   },    },
   
   SaveOptions: function (close) {    SaveOptions: function (close) {
Line 249  jsMath.Add(jsMath.Controls,{ Line 264  jsMath.Add(jsMath.Controls,{
 <tr valign="middle"><td align="center">  <tr valign="middle"><td align="center">
 <table border="0" cellspacing="0" cellpadding="0">  <table border="0" cellspacing="0" cellpadding="0">
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/quickstart.html">Quick Start</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/quickstart.html">Quick Start</a></td></tr>
   <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/fonts.html">Missing Fonts</a></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/printing.html">Printing Issues</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/printing.html">Printing Issues</a></td></tr>
 <tr><td height="5"></td></tr>  <tr><td height="5"></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath">Home Page</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath">Home Page</a></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/">Documentation</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/users/">Documentation</a></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/download/jsMath-fonts.html">Download Fonts</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="https://sourceforge.net/forum/?group_id=172663">User Community</a></td></tr>
 <tr><td height="5"></td></tr>  <tr><td height="5"></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/bugs.html">Known Bugs</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/bugs.html">Known Bugs</a></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a id="jsMath__mailto" href="mailto:dpvc@union.edu?subject=jsMath Bug Report">Report a  Bug</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a id="jsMath__mailto" href="mailto:dpvc@union.edu?subject=jsMath Bug Report">Report a Bug</a></td></tr>
 <tr><td height="5"></td></tr>  <tr><td height="5"></td></tr>
 <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/jsMath/COPYING.txt">License</a></td></tr>  <tr><td class="infoLink" align="left">&#8226; <a target="_blank" href="http://www.math.union.edu/locate/jsMath/jsMath/COPYING.txt">License</a></td></tr>
 </table>  </table>
Line 331  on mathematics to reopen this panel.</i> Line 347  on mathematics to reopen this panel.</i>
 <tr><td style="height:.8em"></td></tr>  <tr><td style="height:.8em"></td></tr>
   
 <tr><td><input type="checkbox" id="jsMath__progress" value="1" /> Show progress messages</td></tr>  <tr><td><input type="checkbox" id="jsMath__progress" value="1" /> Show progress messages</td></tr>
 <tr><td><input type="checkbox" id="jsMath__asynch"   value="1" /> Force asynchronous processing</td></tr>  <tr><td><input type="checkbox" id="jsMath__asynch"   value="1" /> <span id="jsMath__asynchText">Force asynchronous processing</span></td></tr>
 <tr><td><input type="checkbox" id="jsMath__blank"    value="1" /> Don't show page until complete</td></tr>  <tr><td><input type="checkbox" id="jsMath__blank"    value="1" /> Don't show page until complete</td></tr>
 <tr><td><input type="checkbox" id="jsMath__button"   value="1" /> Show jsMath button</td></tr>  <tr><td><input type="checkbox" id="jsMath__button"   value="1" /> Show jsMath button</td></tr>
   

Removed from v.1.2  
changed lines
  Added in v.1.3


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