會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

JForum中文社群 JForum Chinese Users Community » 使用firefox 3.6.6 發表主題, 格式會亂掉

發表人: ericboy, 十級學員
2010-07-11 08:38:05
我使用firefox 3.6.6 連到貴站的 jforum2.2.0 , 以及一般的jforum2.1.8

在”發表主題“時, 下方的“選項"及"附加檔案" 都會偏到右邊

不知道有人解決過這個問題嗎

謝謝

發表人: andowson, 七段學員
2010-07-11 19:08:41
ericboy您好:
我在我的Notebook上測試可以正常顯示,畫面如附件。我的環境是Windows Vista + Firefox 3.6.6,解析度是1280 * 800,麻煩您提供一下您的環境、解析度設定及錯誤畫面。

[Thumb - post_form.jpg]
檔案名稱 post_form.jpg
描述 在Firefox 3.6.6 可以正常顯示的畫面
檔案大小 103 Kbytes
下載次數 0 次
[Disk] 下載


發表人: ericboy, 十級學員
2010-07-11 19:59:24
我的系統是 Mac 10.6.1 , Firefox 3.6.6 , 解析度1280 * 800 , 畫面會亂掉

另個使用者系統是windows7 , 也有類似情況, 使用者詳細環境晚點補上

不過在 winxp 下測試 firefox 3.6.6 解析度1280 * 800 , 畫面正常無誤

[Thumb - Screen shot 2010-07-11 at 下午9.36.37.png]
檔案名稱 Screen shot 2010-07-11 at 下午9.36.37.png
描述 沒有檔案註解存在
檔案大小 58 Kbytes
下載次數 0 次
[Disk] 下載


發表人: andowson, 七段學員
2010-07-12 02:31:23
似乎這個問題只有發生在Mac版的Firefox 3上,修改方式很簡單,請參考下面的說明:

將post_form.htm中的這段程式碼去掉包圍<#include "post_xxx_tab.htm" />前後的<div>及</div>即可。
修改前:
[code=html;first-line: 395;]
<!-- Post Options -->
<div id="postOptions" class="postTabContents">
<div>
<#include "post_options_tab.htm"/>
</div>
</div>

<!-- Poll tab -->
<#if allowPoll>
<div id="postPoll" class="postTabContents" style="display: none;">
<div>
<#include "post_poll_tab.htm"/>
</div>
</div>
</#if>

<!-- Attachments tab -->
<#if attachmentsEnabled || attachments?exists>
<div id="postAttachments" class="postTabContents" style="display: none; ">
<div>
<#include "post_attachments_tab.htm"/>
</div>
</div>
</#if>[/code]

修改後:
[code=html;first-line: 395;]
<!-- Post Options -->
<div id="postOptions" class="postTabContents">
<#include "post_options_tab.htm"/>
</div>

<!-- Poll tab -->
<#if allowPoll>
<div id="postPoll" class="postTabContents" style="display: none;">
<#include "post_poll_tab.htm"/>
</div>
</#if>

<!-- Attachments tab -->
<#if attachmentsEnabled || attachments?exists>
<div id="postAttachments" class="postTabContents" style="display: none;">
<#include "post_attachments_tab.htm"/>
</div>
</#if>
[/code]

請幫忙測試如此修改之後在 Mac 及 Windows 7 上面的Firefox 3 是否都可以正常運作,謝謝。
參考資料:
http://jforum.net/posts/list/4729.page#19138

發表人: ericboy, 十級學員
2010-07-12 09:41:52
It works perfectly fine now. smilie

Thanks andowson




會員註冊 / 登入  |  電腦版  |  Jump to top of page