User talk:Nageh/mathJax: Difference between revisions

Content deleted Content added
Line 750:
 
:In part, it's an issue with MediaWiki. For some reason, it selects a specific [https://developer.mozilla.org/en/CSS/z-index z-index] (value 3) for the <code><nowiki><div id="p-search"></nowiki></code> element, which prevents MathJax from overriding the layering order because it operates in a different [https://developer.mozilla.org/en/CSS/Understanding_z-index/The_stacking_context stacking context]. One solution to solve this is to ask the MediaWiki devs to omit the z-index from the CSS... I don't see why a manual z-index would be needed at all. Another solution... well, looking at the MathJax sources it seems that the positioning element for the popup gets created as a child to the maths's immediate parent rather than as a child to the HTML root element... I guess that changing this could resolve the issue as well, but I'd need to inquire the MathJax folks on this. HTH for now. [[User:Nageh|Nageh]] ([[User talk:Nageh|talk]]) 10:56, 7 July 2012 (UTC)
 
== IE10 compatibility ==
 
MathJax does not load in IE10 because it attempts to access <code>document.namespaces</code>, which is not present in IE10. A workaround to manually create a dummy:
 
if (!document.namespaces)
document.namespaces = {
add: function() {}
};
 
before MathJax is loaded. [[User:Kxx|Kxx]] ([[User talk:Kxx|talk]] &#124; [[Special:Contributions/Kxx|contribs]]) 07:00, 28 August 2012 (UTC)