...

View Full Version : Can't get HTML canvas to work in IE



danielt998
01-01-2011, 03:35 PM
I have make a javascript program that uses HTML canvas and I can't get it to work in Internet Explorer. I tried using excanvas and jqcanvas but had trouble getting them to work. Does anyone know how to do this?

jmrker
01-01-2011, 04:16 PM
Do you have some code to look at?

I'm not sure MSIE supports canvas at this time. I think it is to be a HTML 5 attribute.

danielt998
01-01-2011, 04:48 PM
Yes.You'll have to change the extension to .html

jmrker
01-01-2011, 05:39 PM
From: http://www.xul.fr/en/html5/canvas.php


Compatibility

Canvas currently works on:

* Firefox.
* Safari.
* Chrome.
* Opera.

Not on Internet Explorer. This limited compatibility let it usable mainly to Web applications, and if it is used for pages of sites, it is necessary that the contents of the tag provides a replacement with sufficient features. This also applies to users who disable JavaScript.

Krupski
01-02-2011, 02:46 AM
I have make a javascript program that uses HTML canvas and I can't get it to work in Internet Explorer. I tried using excanvas and jqcanvas but had trouble getting them to work. Does anyone know how to do this?

Whenever I do any web programming, I write the code, test it, debug it, slap myself for making a stupid mistake, then sit back in satisfaction watching my new code run.

Then, with trembling hands and sweat on my forehead, I fire up MSIE and spend the next month working out all the error messages caused by MSIE's inability to follow the @#&^%$ing standards! :mad:

Here's a pie chart that perfectly describes the MSIE headache... I'll provide it as a link though because it has 2 "bad words" in it.....

[/URL][URL="http://three-dog.homelinux.com/images/breakdown.png"]LINK TO IMAGE (http://three-dog.homelinux.com/images/breakdown.png)

-- Roger

jmrker
01-02-2011, 03:06 AM
...
Here's a pie chart that perfectly describes the MSIE headache... I'll provide it as a link though because it has 2 "bad words" in it.....

[/URL][URL="http://three-dog.homelinux.com/images/breakdown.png"]LINK TO IMAGE (http://three-dog.homelinux.com/images/breakdown.png)

-- Roger

Nice! :D:thumbsup::)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum