Sunday, 15 September 2013

dojo - Browsers supporting event processing in dojox.gfx Surface -


Is processing events in dojox.gfx supported by browsers other than Firefox 3?

Say, I have a variable named Surface which is an example of the GFX surface, then I

surface.connect ("onclick", null, function (e ) {Console debug ("clicked on surface");});

It works in Firefox 3, but it is not in IE 8, Chrome 3, Agni Safari 4. I can do anything about it, or it is by those 3 browsers is not supported?

Thank you!

It should work everywhere but a surface is a container, not an object clicked on the shapes Try if you still want to use the container, then try clicking on the DOM node used to define your surface.


No comments:

Post a Comment