Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 344 | f9daq | 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 |