Login Register

Moveable

dnd.constrainedMoveable question - is it possible to get the moveable item to 'follow' the mouse pointer?

Hi,

I'm hoping someone can help. I have been using constrainedMoveable and have a page with a container div and a smaller div inside. At the moment, the user is able to drag the smaller div around inside the constraints of the parent container and this works very well.

However, I'd been trying to get the smaller div to track with the pointer as soon as the user moves the mouse into the containing div - in other words: as soon as they move into the containing div, I'd like the smaller div to follow the pointer around.

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.

Trouble subclassing Moveable when using parser?

I believe I've found a bug in Dojo 1.1.1, where objects instantiated using the parser cannot be successfully subclassed. My demo code subclasses dojo.dnd.Moveable so that the objects start in random positions on the screen. I include two versions: one that works (using addOnLoad()), and one that doesn't (using the parser).

GFX Mover vs Moveable

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

Syndicate content