FCKeditor cannot pop up a dialog box in ie9 (pop-up layer compatibility problem)

Source: Internet
Author: User

Therefore, whether you want to paste content in the page editor or upload images or other things that require pop-up window operations, you can only refresh the page if you want to perform other operations. The reason is that IE 9 does not support var $ = Document. getelementbyid.
The solution can be as follows:
Open this file, FCKeditor/Editor/JS/fckeditorcode_ie.js, and find the method in line 38th: fcktools. registerdollarfunction
Change the original CopyCodeThe Code is as follows: fcktools.registerdollarfunction?function(a?a.=a.doc ument. getelementbyid ;};

The modification method is as follows:Copy codeThe Code is as follows: fcktools. registerdollarfunction = function (a) {A. $ = function (v) {return a.doc ument. getelementbyid (v );}};

I personally did the experiment and the results were satisfactory ..

In other words, FCKeditor has retired with honor. Instead, its ckeditor is more powerful and the loading speed is faster! If you prefer the image upload function of FCKeditor, you can use ckfinder to complete it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.