问题
I simply cannot get excanvas to work at all. I have tried everything I can think of. I am even uploading the examples that come with excanvas to my website and testing them and they do not even work. I don't know if it has something to do with my server or what, but I haven't seen a working excanvas image yet.
for instance... I this example comes with the excanvas package and it does not work for me... does anyone know what this could possibly be? thanks
http://www.javascriptkids.com/tools/excanvas/examples/example1.html
回答1:
Try this: Tools > Options > Security > Custom level... > **Binary and script behaviors** (under <i>ActiveX controls and plug-ins</i>-section)
Change it to either Enable or Administrator approved.
回答2:
I find the answer! The problem may be in security settings of browser. You must add http://explorercanvas.googlecode.com to Internet options -> Security -> Trusted Sites!
回答3:
Your problem was almost certainly because of the "compatibility mode" that was introduced in IE8... Add this to your page to force IE to use the IE7 compatibility mode:
<meta http-equiv="X-UA-Compatible" content="IE=7" />
来源:https://stackoverflow.com/questions/2444456/excanvas-does-not-work-in-ie8-at-all