FCKeditor solution to Pop-up dialog in IE9 (pop-up layer compatibility issue) _ Web page Editor

Source: Internet
Author: User
So whether you want to paste the content in the page editor, or upload pictures and other things that need pop-up window operation will have problems, want to do other operations can only refresh the page. The reason is that IE 9 does not support Var $=document.getelementbyid;
The solution can be done this way:
Open this file, Fckeditor/editor/js/fckeditorcode_ie.js, and find this method in line 38th: fcktools.registerdollarfunction
will be the original
Copy Code code as follows:

Fcktools.registerdollarfunction=function (A) {A.$=a.document.getelementbyid;};

The method of modification is:
Copy Code code as follows:

Fcktools.registerdollarfunction=function (A) {a.$=function (v) {return A.document.getelementbyid (v);}};

Did the experiment in person, the result is ideal.

In other words, fckeditor Glorious retirement, the replacement of its ckeditor more powerful, faster loading speed! If nostalgia FCKeditor picture upload function, can use Ckfinder to fill up.

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.