beautytips

Possible to get Excanvas to work in IE 8?

泄露秘密 提交于 2019-12-17 07:29:01
问题 I used to work on a jQuery plugin named 'BeautyTips' and it was working just fine. But, since I've installed IE 8, this plugin stop working because it needs Excanvas to make IE draw the vectors, images etc. I've tried to download the newer version of Excanvas but it's not working at all... 回答1: Try appending the canvas element to the document before initializing it using excanvas: var foo = document.getElementById("targetElementID"); var canvas = document.createElement('canvas'); canvas

Possible to get Excanvas to work in IE 8?

梦想的初衷 提交于 2019-11-27 04:31:28
I used to work on a jQuery plugin named 'BeautyTips' and it was working just fine. But, since I've installed IE 8, this plugin stop working because it needs Excanvas to make IE draw the vectors, images etc. I've tried to download the newer version of Excanvas but it's not working at all... Try appending the canvas element to the document before initializing it using excanvas: var foo = document.getElementById("targetElementID"); var canvas = document.createElement('canvas'); canvas.setAttribute("width", 620); canvas.setAttribute("height", 310); canvas.setAttribute("class", "mapping"); foo