Critical layout fixes for IE

main
Inga 🏳‍🌈 14 years ago
parent 6d67359ce5
commit 27a6c4aef0
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      static/js/machichara/simple.js
  3. 18
      templates/Full/elems/Main.xslt

@ -10,7 +10,7 @@ function simpleMachicharaUpdate(element) {
function simpleMachichara(imageUrl) { function simpleMachichara(imageUrl) {
var machicharaSimpleElement = document.createElement("div"); var machicharaSimpleElement = document.createElement("div");
machicharaSimpleElement.zIndex = 1000; machicharaSimpleElement.zIndex = 1000;
machicharaSimpleElement.style.position = "fixed"; machicharaSimpleElement.style.position = isIe ? "absolute" : "fixed";
machicharaSimpleElement.style.top = "50%"; machicharaSimpleElement.style.top = "50%";
machicharaSimpleElement.style.left = "50%"; machicharaSimpleElement.style.left = "50%";
document.body.appendChild(machicharaSimpleElement); document.body.appendChild(machicharaSimpleElement);

@ -21,7 +21,16 @@
<body> <body>
<xsl:attribute name="onLoad">simpleMachichara("/static/images/machichara/simple/hexsex.gif");</xsl:attribute> <xsl:attribute name="onLoad">simpleMachichara("/static/images/machichara/simple/hexsex.gif");</xsl:attribute>
<xsl:if test="not(get/param[@name='headers'] = 'false')"> <xsl:if test="not(get/param[@name='headers'] = 'false')">
<div style="position:fixed;right:0px;top:0px;height:100%;width:3%;text-align:right;"> <xsl:call-template name="header"/>
</xsl:if>
<xsl:call-template name="specific"/>
<div style="display:none">
<form action="" method="POST" id="systemForm">
<input type="hidden" name="data"/>
</form>
</div>
<xsl:if test="not(get/param[@name='headers'] = 'false')">
<div style="position:absolute;right:0px;top:0px;height:100%;width:3%;text-align:right;">
<div style="text-align:right;"> <div style="text-align:right;">
<a pseudolink="pseudolink"> <a pseudolink="pseudolink">
<xsl:attribute name="onClick">alert("Not implemented");</xsl:attribute> <xsl:attribute name="onClick">alert("Not implemented");</xsl:attribute>
@ -36,14 +45,7 @@
</a> </a>
</div> </div>
</div> </div>
<xsl:call-template name="header"/>
</xsl:if> </xsl:if>
<xsl:call-template name="specific"/>
<div style="display:none">
<form action="" method="POST" id="systemForm">
<input type="hidden" name="data"/>
</form>
</div>
<xsl:if test="get/param[@name='debug'] = 'true'"> <xsl:if test="get/param[@name='debug'] = 'true'">
<xsl:text disable-output-escaping="yes"><![CDATA[<!--]]></xsl:text> <xsl:text disable-output-escaping="yes"><![CDATA[<!--]]></xsl:text>
<br /> <br />

Loading…
Cancel
Save