dario77


Hello
I'm using the vemap control in a page which includes the prototype window class.
My page works fine in explorer 7 but it does not work in firefox 2.0. I put some breakpoints in my js code and it seems that prototype does not notice I'm using firefox and it runs the js code optimized for IE7 (the variable prototype.browser.ie7 it's true even on firefox); obviously this causes errors. If I don't include the vemap control (I'm using its 5th release) everything is fine but as I insert a reference to it, the page is not displayed properly.
Any help
Thanks in advance





Re: Using VE 5.0 with prototype library

dario77


I probably found a workaround to this issue; the problem was that the both boolean values prototype.browser.ie7 and prototype.browser.Gecko were true so the code for ie7 was executed also under firefox. By putting some extra condition on browser type in my code I finally managed to make it work; I don't know whether that's a bug of prototype or vemap so I'm reporting this issue in both the forums.