Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Site Discussion >> Small change to rating plot viewer
(Message started by: dree12 on Jul 14th, 2011, 2:15pm)

Title: Small change to rating plot viewer
Post by dree12 on Jul 14th, 2011, 2:15pm
The rating plot viewer doesn't seem to work on IE 9.0, but this seems to be an error in the code:

Code:
           if(C.browser.msie){
               window.G_vmlCanvasManager.init_(document)
           }

I'm not sure how easy this is to fix, but removing it does make the page work. For the vast majority of IE users are still on 8.0, it may be useful to try:

Code:
           if(!document.createElement("canvas").getContext) { // not call
               window.G_vmlCanvasManager.init_(document)
           }
which should work.

Title: Re: Better IE support for rating graph viewer?
Post by rbarreira on Jul 14th, 2011, 3:54pm
These confusions are one of the reasons why I hate web programming.

Title: Re: Better IE support for rating graph viewer?
Post by dree12 on Jul 14th, 2011, 4:53pm
I don't understand what the confusion is?

Title: Re: Better IE support for rating graph viewer?
Post by rbarreira on Jul 14th, 2011, 6:04pm

on 07/14/11 at 16:53:47, dree12 wrote:
I don't understand what the confusion is?


The fact that one has to think about all these features which work incompatibly on several browsers (and even browser versions).

I'm glad there are people who don't mind it though ;)



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.