哈比 发表于 2006-11-30 16:37

【注意!】爱坤论坛在IE7下显示不全,附解决办法

<P>刚装上了今天发布的IE7中文正式版,发现爱坤使用的动网论坛在IE7下很多帖子显示不全! 还有最顶上和最下方的LOGO显示古怪等等问题</P>
<P>去网上查了一下,是动网模版的问题,需要做如下修改:   <FONT color=#f70909 size=4><STRONG>(建议直接去下载最新动网标准模板,因为不只这一个问题,还有其他IE7下的问题)</STRONG></FONT></P>
<P><STRONG><FONT color=#0000ff></FONT></STRONG></P>
<P><STRONG><FONT color=#0000ff></FONT></STRONG></P>
<P><STRONG><FONT color=#0000ff>----------------------------------------------------------------------------------------</FONT></STRONG></P>
<P><STRONG><FONT color=#0000ff>动网论坛在ie7下贴子显示不全的解决办法<br></P></FONT></STRONG>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word="">
<P>在风格模板page_dispbbs中找到以下代码:</P>
<DIV class=quote>
<P>&lt;!--判断是否是IE,生成相应的style和class--&gt;&lt;br /&gt;<br>&lt;xsl:variable name="postclass"&gt;&lt;br /&gt;&lt;xsl:choose&gt;&lt;br /&gt;<br>  &lt;xsl:when test="&lt;a href="<a href="http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft%22%3Epost/agent/@browser='Microsoft%3C/a" target="_blank" ><FONT color=#000000>mailtpost/agent/@browser='Microsoft"&gt;post/agent/@browser='Microsoft&lt;/a</FONT></A>&gt; Internet Explorer'"&gt;postie&lt;/xsl:when&gt;&lt;br /&gt;<br>  &lt;xsl:otherwise&gt;post&lt;/xsl:otherwise&gt;&lt;br /&gt;<br>&lt;/xsl:choose&gt;&lt;br /&gt;&lt;/xsl:variable&gt;&lt;br /&gt;<br>&lt;xsl:variable name="bodystyle"&gt;&lt;br /&gt;<br>&lt;xsl:choose&gt;&lt;br /&gt;<br>  &lt;xsl:when test="&lt;a href="<a href="http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft%22%3Epost/agent/@browser='Microsoft%3C/a" target="_blank" ><FONT color=#000000>mailtpost/agent/@browser='Microsoft"&gt;post/agent/@browser='Microsoft&lt;/a</FONT></A>&gt; Internet Explorer'"&gt;height:200px;width:97%;padding-right:0px; overflow-x: hidden;&lt;/xsl:when&gt;&lt;br /&gt;<br>  &lt;xsl:otherwise&gt;min-height:200px;&lt;/xsl:otherwise&gt;&lt;br /&gt;<br>&lt;/xsl:choose&gt;font-size:&lt;xsl:value-of select="&lt;a href="<a href="http://www.xlzg.net/bbs/mailtpost/setting/@fontsize%22%3Epost/setting/@fontsize%3C/a" target="_blank" ><FONT color=#000000>mailtpost/setting/@fontsize"&gt;post/setting/@fontsize&lt;/a</FONT></A>&gt;" /&gt;pt;line-height:&lt;xsl:value-of select="&lt;a href="<a href="http://www.xlzg.net/bbs/mailtpost/setting/@lineheight%22%3Epost/setting/@lineheight%3C/a" target="_blank" ><FONT color=#000000>mailtpost/setting/@lineheight"&gt;post/setting/@lineheight&lt;/a</FONT></A>&gt;" /&gt;;text-indent:&lt;xsl:value-of select="&lt;a href="<a href="http://www.xlzg.net/bbs/mailtpost/setting/@indent%22%3Epost/setting/@indent%3C/a" target="_blank" ><FONT color=#000000>mailtpost/setting/@indent"&gt;post/setting/@indent&lt;/a</FONT></A>&gt;" /&gt;px;<br>&lt;/xsl:variable&gt;&lt;br /&gt;<br>&lt;!--end --&gt;</P></DIV>
<P>替换为:</P>
<DIV class=quote>
<P>&lt;!--判断是否是IE,生成相应的style和class--&gt;<br>&lt;xsl:variable name="postclass"&gt;<br>&lt;xsl:choose&gt;<br>  &lt;xsl:when test="<a href="http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft" target="_blank" ><FONT color=#000000>post/agent/@browser='Microsoft</FONT></A> Internet Explorer' and not(<a href="http://www.xlzg.net/bbs/mailtpost/agent/@version" target="_blank" ><FONT color=#000000>post/agent/@version</FONT></A> &gt; 6 ) "&gt;postie&lt;/xsl:when&gt;<br>  &lt;xsl:otherwise&gt;post&lt;/xsl:otherwise&gt;<br>&lt;/xsl:choose&gt;<br>&lt;/xsl:variable&gt;<br>&lt;xsl:variable name="bodystyle"&gt;<br>&lt;xsl:choose&gt;<br>  &lt;xsl:when test="<a href="http://www.xlzg.net/bbs/mailtpost/agent/@browser='Microsoft" target="_blank" ><FONT color=#000000>post/agent/@browser='Microsoft</FONT></A> Internet Explorer' and not(<a href="http://www.xlzg.net/bbs/mailtpost/agent/@version" target="_blank" ><FONT color=#000000>post/agent/@version</FONT></A> &gt; 6 )"&gt;height:200px;width:97%;padding-right:0px; overflow-x: hidden;&lt;/xsl:when&gt;<br>  &lt;xsl:otherwise&gt;min-height:200px;&lt;/xsl:otherwise&gt;<br>&lt;/xsl:choose&gt;font-size:&lt;xsl:value-of select="<a href="http://www.xlzg.net/bbs/mailtpost/setting/@fontsize" target="_blank" ><FONT color=#000000>post/setting/@fontsize</FONT></A>" /&gt;pt;line-height:&lt;xsl:value-of select="<a href="http://www.xlzg.net/bbs/mailtpost/setting/@lineheight" target="_blank" ><FONT color=#000000>post/setting/@lineheight</FONT></A>" /&gt;;text-indent:&lt;xsl:value-of select="<a href="http://www.xlzg.net/bbs/mailtpost/setting/@indent" target="_blank" ><FONT color=#000000>post/setting/@indent</FONT></A>" /&gt;px;&lt;/xsl:variable&gt;<br>&lt;!--end --&gt;</P></DIV></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""><FONT color=#f73809 size=3><STRONG></STRONG></FONT></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""><FONT color=#f73809 size=3><STRONG>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word="">-------------------------------------------------------------------------------------------------------------------------------------------</DIV></STRONG></FONT></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""><FONT color=#f73809 size=3><STRONG></STRONG></FONT> </DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""><FONT color=#f73809 size=3><STRONG>顺便说一下,我觉得爱坤最好能换掉动网的论坛,不只目前在IE7下产生的问题,动网论坛本身也有很多其他BUG,这不利于论坛的维护和操作,希望负责网站制作的朋友能重视此事</STRONG></FONT></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""><STRONG><FONT color=#f73809 size=3></FONT></STRONG> </DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word=""></DIV>
<DIV font-size="" min-height="" word-break="" break-all="" text-indent="" line-height="" normal="" word-wrap="" break-word="">-------------------------------------------------------------------------------------------------------------------------------------------</DIV>
[此贴子已经被作者于2006-11-30 16:44:04编辑过]

哈比 发表于 2006-11-30 17:15

<P>下面是帖子内容显示不全的截图,同时可以看到最上方的LOGO也错了位,还有帖子的发表时间也显示不全了</P>
<P>http://www.mysea.net/download/js/get163.asp?url=http://img725.photo.163.com/motaly/107703138/2506790774.jpg</P><br>
[此贴子已经被作者于2006-11-30 22:28:32编辑过]

哈比 发表于 2006-11-30 17:17

<P>这张可以看到最下方的论坛信息也错了位</P>
<P>http://www.mysea.net/download/js/get163.asp?url=http://img725.photo.163.com/motaly/107703138/2506783667.jpg</P><br>

radiowoman 发表于 2006-11-30 21:27

<P 0in 0in 0pt"><FONT face="Times New Roman">谢谢哈比!我们会尽快修改!</FONT></P>

oasis 发表于 2006-12-1 10:37

谢谢哈比,会尽快解决滴。
页: [1]
查看完整版本: 【注意!】爱坤论坛在IE7下显示不全,附解决办法