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

Google map 語言本地化

Google map 語言本...

網路世界的強大...真的是解決問題的好幫手.....雖說有些答案並不可靠.... 但原則上...只要...

PHP網路爬蟲之抓取Open Graph(OG) Meta tags

PHP網路爬蟲之抓取Open...

用google爬了很多文章.... 最後終於找到一篇內容..... 只是測試了半天...感覺奇怪為何...

校外教學(木柵動物園)

校外教學(木柵動物園)

期中考週的校外教學,來到了上回去不成的木柵動物園。 炎熱的天,帶著位小蘿蔔頭,一邊觀察一邊完成老師交...

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