Skip to content

z index of MathJax_MenuFrame

silvergo edited this page Dec 2, 2013 · 4 revisions

Wondering if anyone has found a suitable work around for the MathJax_MenuFrame and its z-index of 200. We need it to be significantly higher as ext-js has much higher z-indexes.


Try

<script type="text/x-mathjax-config">
MathJax.Hub.Register.StartupHook("MathMenu Ready",function () {
  MathJax.Menu.BGSTYLE["z-index"] = 1000;
});
</script>

before the script call that loads MathJax.js. Substitute whatever z-index you need.

Davide

This solution may have problems: https://moodle.org/mod/forum/discuss.php?d=239658#p1043269

Clone this wiki locally