Login Register

mouse

Trouble with dynamically created dijit.Menu and leftClickToOpen

I'm having trouble dynamically creating a dijit.Menu that opens with a left mouse button click. I have been successful dynamically creating a dijit.Menu that opens with a right mouse button click. I have also been successful declarative creating a dijit.Menu that opens with a left mouse button click.

I've include with this post some HTML that duplicates what works and what doesn't. The behavior of the HTML is the same in IE 6, FF 2/3, and Chrome. Hopefully, it will be simple to get up and running. Once it's running try the following...

GFX dragging mouse on canvas works strangely on Firefox 2

Hi, I have a simple piece of code:

dojo.require("dojox.gfx");

var containerEl;
var dojoSurface;
var hMouseMoveConnection = null;

function init()
{
containerEl = dojo.byId("canvas");
dojoSurface = dojox.gfx.createSurface(containerEl, 800, 400);

//cancel text selection and text dragging:
//dojo.connect(containerEl, "ondragstart", dojo, "stopEvent");
//dojo.connect(containerEl, "onselectstart", dojo, "stopEvent");

dojo.connect(containerEl, "onmousedown", null, "myHandleCanvasMouseDown");

Bug: dojo.dnd.Moveable breaks if cursor leave object?

I've found that dojo.dnd.Moveable dragging breaks if the cursor moves off of the object during the drag.

Charting Event Handling

Has anyone yet developed a work around for the dojox.charting package that will allow for clickable bars or points on the graphs that are generated? Our company would like to transition from static JFreeChart images to more dynamic dojo charts on our web interface, but this one feature is critical for us to be able to maintain curtain plotter functionality. If no one has a work around, does anyone in the dojo development community know when this feature might be introduced?

GFX Mover vs Moveable

Can anyone elaborate on the difference between dojox.gfx.Mover and dojox.gfx.Moveable?

Does GFX Shape support Mouse Event?

Does GFX Shape support Mouse Event? such as onmouseover,onmouseout,onmousedown?
These events are supported in SVG,and i am imigrating SVG chart to dojo,can anybody help me?

Syndicate content