如題,我在發表主題時點選左邊的表情符號,有時會正常的把表情符號代碼打出來,但是有時候卻沒有反應(然後IE狀態列上顯示"網頁發生錯誤。")
錯誤內容如下:
行:622
字元:3
錯誤:'BaseHeight'未被定義
程式碼:0
URL:http://dopi.33host.com/phpBB2/posting.p ... topic&f=10
以下是我的論壇發文網址
http://dopi.33host.com/phpBB2/posting.p ... topic&f=10
測試帳號:test
測試密碼:1234
請大大幫我看看是哪裡出了問題
如果需要提供哪部分的php文檔
請回覆上,我會立刻提供
[問題]我的表情符號運作不太正常(已解決)
版主: 版主管理群
[問題]我的表情符號運作不太正常(已解決)
最後由 a7966552 於 2006-06-04 23:16 編輯,總共編輯了 1 次。
建議您:
參考這裡, 修改看看.
http://phpbb-tw.net/phpbb/viewtopic.php?p=218460#218460
#
#-----[ OPEN ]-----
#
mods/bbcode_box/bbcode_box.js
#
#-----[ FIND ]-----
#
#
#-----[ REPLACE WITH ]-----
#
#
#-----[ SAVE & CLOSE ]-----
#
參考這裡, 修改看看.
http://phpbb-tw.net/phpbb/viewtopic.php?p=218460#218460
#
#-----[ OPEN ]-----
#
mods/bbcode_box/bbcode_box.js
#
#-----[ FIND ]-----
#
代碼: 選擇全部
function emoticon(text) {
var txtarea = document.post.message;
text = ' ' + text + ' ';
if (txtarea.createTextRange && txtarea.caretPos) {
if (baseHeight != txtarea.caretPos.boundingHeight) {
txtarea.focus();
storeCaret(txtarea);
}
var caretPos = txtarea.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
txtarea.focus();
} else
if (txtarea.selectionEnd && (txtarea.selectionStart | txtarea.selectionStart == 0))
{
mozWrap(txtarea, text, "");
return;
} else {
txtarea.value += text;
txtarea.focus();
}
}
#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
function emoticon(text) {
text = ' ' + text + ' ';
PostWrite(text);
}
#-----[ SAVE & CLOSE ]-----
#

