Canvas doesn't work in IE6

43 views
Skip to first unread message

Jean-Philippe Encausse

unread,
Nov 22, 2006, 5:33:35 PM11/22/06
to google-excanvas
Hi,
May be this is a stupid question ?

I've installed excanvas.js and declare it in my html file but nothing
append ... There's no errors in Internet Explorer but nothing is drawn
...

http://jphe.free.fr/docs/html/VLDemo1/stars.html

Lines should be drawn between stars ...

Should I install a VML plugin for IE or something like that ?

Best Regards,
Jean-Philippe Encausse

Eric

unread,
Dec 7, 2006, 5:08:04 PM12/7/06
to google-excanvas
I am having the same issue. I am trying to run any of the test cases
found with the excanvas download bundles, and none of them work. I am
running IE6 on WinXP SP2. Is that version of IE not supported or
something?

Thanks,
--Eric

Erik Arvidsson

unread,
Dec 7, 2006, 5:33:14 PM12/7/06
to google-...@googlegroups.com
Works for me. I have the same IE and Windows version.

Do you have the developer toolbar installed? Does your canvas element
have <shape/> elements in it if you inspect the DOM?


--
erik

Glen Murphy

unread,
Dec 7, 2006, 6:24:40 PM12/7/06
to google-...@googlegroups.com
Wasn't there also a security patch that disabled VML on IE6? It was
depatched shortly after, I believe.

Eric

unread,
Dec 8, 2006, 9:55:40 AM12/8/06
to google-excanvas
Hi,

Thanks for the quick reply. I did not have the developer toolbar
installed... didn't know there was one. I installed it, and the page
does have <shape/> elements as children of the <canvas> element.

I know that the excanvas code is running at least somewhat, because the
".getContext("2d")" method call is not creating a JS error similar to
"object does not support method" that it would get without excanvas.

How can I check to see if VML is enabled on my browser? Is there a
website that uses excanvas and is known to be working that I can go to
using my IE browser to test whether it is my browser that is the
problem (likely) or if it is the configuration on my web server (not
likely)?

Thanks again for any help that you all can provide.
--Eric

Eric

unread,
Dec 8, 2006, 10:08:37 AM12/8/06
to google-excanvas
Hi Glen,

Thanks for the response.

Did not know that VML was disabled on my machine... but apparently it
was. To re-enable it, I ran this command:

regsvr32 "%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll

Now the examples work for excanvas. Thanks for your help!

--Eric

Reply all
Reply to author
Forward
0 new messages