Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  1. function showFormula(formula, sframe){
  2.   //formula to be displayed in divid formulaDisplay+sframe
  3.   spanID = 'functionDisplay' + sframe;
  4.   document.getElementById("functionDisplay"+sframe).innerHTML = '$'+formula+'$';
  5.   MathJax.Hub.Queue(["Typeset", MathJax.Hub, spanID]);
  6.   MathJax.Hub.Queue(showBlahElement);
  7.  
  8. }
  9.  
  10. function showBlahElement () {
  11.   console.log(spanID);
  12.   console.log(MathJax.Hub.getAllJax(spanID));
  13. }
  14.  
  15.