In fact, the IE8 version of the new features in the IE8 beta, the only thing that makes everyone happy is that the IE8 formal version of the stable than the beta version of the better. Most of the text editors I use to develop Web projects Ewebedit ...
solutions that Ewebedit menus cannot open after using IE8 IE8 official version, finally released, in fact, IE8 official version of the new features in the IE8 beta version of the show, the only thing that makes everyone happy is the IE8 official version of the stable model than the beta version of much better. I developed a Web site project used most of the text editor Ewebedit, but the use of IE8 after the menu can not open, small depressed a bit, online some solutions, but there are some problems, the following is my solution:
From the JS folder (affected by the version may be inconsistent) find the Editor.js file, put the following code inside:
if (element. Yuseronclick) eval (element. Yuseronclick + "anonymous ()");
Replace with the following code:
if (element. Yuseronclick)
{
if (Navigator.appVersion.match (/8./i) = = ' 8. ') Determine if the browser is IE8
{
Eval (element. Yuseronclick + "onclick (event)");
}
Else
{
Eval (element. Yuseronclick + "anonymous ()"); IE7 and IE6 are applicable
}
}
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.