Team:ETH Zurich/tpl/head
From 2014.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
<script> | <script> | ||
MathJax.Hub.Queue(function () { | MathJax.Hub.Queue(function () { | ||
- | var math = document.getElementById(" | + | var math = document.getElementById("Reactions"); |
math.style.display = "inline"; var w = math.offsetWidth; math.style.display = ""; | math.style.display = "inline"; var w = math.offsetWidth; math.style.display = ""; | ||
if (w > 700) {math.style.fontSize = Math.floor(700/w * 100)+"%"} | if (w > 700) {math.style.fontSize = Math.floor(700/w * 100)+"%"} |