Critical IE7 fixes

main
Inga 🏳‍🌈 14 years ago
parent 7db7f914f5
commit aec46f6074
  1. 2
      Builder/IISMainHandler/build.txt
  2. 6
      static/css/modern/global.css
  3. 3
      static/js/machichara/simple.js
  4. 7
      templates/Modern/Board.xslt
  5. 12
      templates/Modern/elems/Main.xslt
  6. 4
      templates/Modern/elems/ThreadInfo.xslt

@ -66,7 +66,7 @@ pre
white-space:nowrap; white-space:nowrap;
padding:5pt; padding:5pt;
font-size:1.2em; font-size:1.2em;
z-index:10; z-index:3000;
} }
.UG_Blondes { .UG_Blondes {
color:red !important; color:red !important;
@ -172,7 +172,7 @@ BLOCKQUOTE BR {FONT-SIZE:1px}
padding:5pt; padding:5pt;
font-size:0.8em; font-size:0.8em;
width:16.25em; width:16.25em;
z-index:10; z-index:3000;
} }
a.external { a.external {
padding-right:13px; padding-right:13px;
@ -219,5 +219,5 @@ a.external {
position:absolute; position:absolute;
padding:5pt; padding:5pt;
width:15em; width:15em;
z-index:10; z-index:3000;
} }

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

@ -10,7 +10,7 @@
<xsl:template name="isRssEnabled">true</xsl:template> <xsl:template name="isRssEnabled">true</xsl:template>
<xsl:template name="specific"> <xsl:template name="specific">
<xsl:if test="boards/board"> <xsl:if test="boards/board">
<div class="boardscontainer"> <div class="boardscontainer" style="position:relative;z-index:2000;">
<xsl:apply-templates select="boards/board"/> <xsl:apply-templates select="boards/board"/>
</div> </div>
</xsl:if> </xsl:if>
@ -20,11 +20,14 @@
</div> </div>
<div id="threadsContainer"> <div id="threadsContainer">
<xsl:if test="threads/thread[isAnnouncement='true']"> <xsl:if test="threads/thread[isAnnouncement='true']">
<div style="position:relative;z-index:1000">
<xsl:apply-templates select="threads/thread[isAnnouncement='true']"/> <xsl:apply-templates select="threads/thread[isAnnouncement='true']"/>
<br/> </div>
</xsl:if> </xsl:if>
<div style="position:relative;z-index:0">
<xsl:apply-templates select="threads/thread[not(isAnnouncement='true')]"/> <xsl:apply-templates select="threads/thread[not(isAnnouncement='true')]"/>
</div> </div>
</div>
<div> <div>
<xsl:text>ñòðàíèöû:</xsl:text> <xsl:text>ñòðàíèöû:</xsl:text>
<xsl:apply-templates select="threads/pageOuter" mode="withCurrent"/> <xsl:apply-templates select="threads/pageOuter" mode="withCurrent"/>

@ -7,19 +7,19 @@
<html> <html>
<head> <head>
<meta http-equiv="x-ua-compatible" content="IE=8"/> <meta http-equiv="x-ua-compatible" content="IE=8"/>
<link rel="stylesheet" href="/static/css/modern/global.css?v4.1" type="text/css" /> <link rel="stylesheet" href="/static/css/modern/global.css?v4.2" type="text/css" />
<xsl:comment>[if lte IE 7]&gt;<![CDATA[ <xsl:comment>[if lte IE 7]&gt;<![CDATA[
<link rel="stylesheet" href="/static/css/modern/iefixes.css?v4.1" type="text/css" /> <link rel="stylesheet" href="/static/css/modern/iefixes.css?v4.2" type="text/css" />
]]>&lt;![endif]</xsl:comment> ]]>&lt;![endif]</xsl:comment>
<link rel="stylesheet" type="text/css" skin="skin"> <link rel="stylesheet" type="text/css" skin="skin">
<xsl:attribute name="href">/static/css/modern/penartur.css?v4.1</xsl:attribute> <xsl:attribute name="href">/static/css/modern/penartur.css?v4.2</xsl:attribute>
</link> </link>
<link rel="shortcut icon" href="/static/favicons/smirk.ico" type="image/x-icon" /> <link rel="shortcut icon" href="/static/favicons/smirk.ico" type="image/x-icon" />
<script language="Javascript" type="text/javascript" src="/static/js/common.js"><xsl:text> </xsl:text></script> <script language="Javascript" type="text/javascript" src="/static/js/common.js"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/modern.js"><xsl:text> </xsl:text></script> <script language="Javascript" type="text/javascript" src="/static/js/modern.js"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/machichara/complex.js?v1"><xsl:text> </xsl:text></script> <script language="Javascript" type="text/javascript" src="/static/js/machichara/complex.js?v1"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/machichara/simple.js?v1"><xsl:text> </xsl:text></script> <script language="Javascript" type="text/javascript" src="/static/js/machichara/simple.js?v4.2"><xsl:text> </xsl:text></script>
<script language="Javascript" type="text/javascript" src="/static/js/machichara/simple.js?v1"> <script language="Javascript" type="text/javascript">
<xsl:attribute name="src"> <xsl:attribute name="src">
<xsl:text>/static/js/machichara/</xsl:text> <xsl:text>/static/js/machichara/</xsl:text>
<xsl:value-of select="machichara/name"/> <xsl:value-of select="machichara/name"/>
@ -42,7 +42,7 @@
<xsl:call-template name="specific"/> <xsl:call-template name="specific"/>
</div> </div>
<xsl:if test="not(get/param[@name='headers'] = 'false')"> <xsl:if test="not(get/param[@name='headers'] = 'false')">
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;position:absolute;top:4em;right:0px;text-align:right;"> <div style="min-width:20px;width:20px;max-width:20px;overflow:visible;position:absolute;top:4em;right:0px;text-align:right;z-index:4000">
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;"> <div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;">
<div style="position:absolute;top:0px;right:20px;display:none" id="pokerPlaceholder"> <div style="position:absolute;top:0px;right:20px;display:none" id="pokerPlaceholder">
<img border="0" src="/static/images/poker.jpg" alt="poker" align="top"/> <img border="0" src="/static/images/poker.jpg" alt="poker" align="top"/>

@ -11,6 +11,10 @@
<xsl:text> updated</xsl:text> <xsl:text> updated</xsl:text>
</xsl:if> </xsl:if>
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="style">
<xsl:text>z-index:</xsl:text>
<xsl:value-of select="1000-position()"/>
</xsl:attribute>
<div class="userbarcontainer" style="float:left"> <div class="userbarcontainer" style="float:left">
<xsl:apply-templates select="firstPost/post/poster/user" mode="userInfoBar"/> <xsl:apply-templates select="firstPost/post/poster/user" mode="userInfoBar"/>
</div> </div>

Loading…
Cancel
Save