Loading...

瀏覽器升級ie9後FCKEditor無法使用對話框解決方法

Temperature: 0 °C

ChungChung
author_tools

原文網址:http://ecshop.tw/bbs/archiver/tid-2888.html

升級到 IE 9後,FCKEditor在IE 9裏的彈出浮動層會出現bug,裏面的內容不會出現。所以無論是想在頁面編輯器裏粘貼內容,還是上傳圖片等凡是需要彈出視窗操作的東西都會有問題,想要進行其他的操作也只能重新刷新頁面。原因是 IE 9 不支持var $=document.getElementById;這樣的寫法了。

解決方法可以這麼來做:

        
打開這個檔, fckeditor/editor/js/fckeditorcode_ie.js ,找到第 38行的這個方法:FCKTools.RegisterDollarFunction
將原來的
FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};
修改為:
FCKTools.RegisterDollarFunction=function(A){A.$=function(v){return A.document.getElementById(v);}};

https://innstory.com/story-瀏覽器升級ie9後FCKEditor無法使用對話框解決方法-93
寫程式筆記

Prev
 蘭撒果__Langsat

Next
PHP的日期加減運算 

About the Author

Chung

我是chung
網路工作者
主業是網站系統開發建置
副業是做夢,寫故事
作品請參考/teme.biz
做夢請參考/innstory.com
聯絡/chung.teme@gmail.com

#有人用筆寫日記,有人用歲月寫日記,有人用照片寫日記,而我,用innstory寫日記。

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

Android Studio 2.3 陽春型計算機進階版

Android Studio...

andrio5 將之前的陽春型計算機用了不怎麼聰明的方式改善了幾個地方。 首先,我將數字的宣告由in...

Android Studio 2.3 陽春型計算機

Android Studio...

andrio55 原本這次的學習課題是,與使用者互動之「按一下」事件處理。 我按照工具書上寫的,完成...

RewriteRule仿靜態連結

RewriteRule仿靜態...

前幾天寫了關於頁面導向位置的定義。https://innst...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format