Tag Archives: dhtml

HTML5 drag and drop in Firefox 3.5

Oh hey, look! It’s another blog post—and this one is cross-posted on hacks.mozilla.com. I won’t say this is the start of a renewed blogging habit, but let’s see what happens. dl { margin-left: 2em; } dd { margin-left: 2em; margin-bottom: 0.25em; } Drag and drop is one of [...]

drag and drop and the missing mouseup

With the draggable circles – click, drag, move the mouse outside the rectangle, release the mouse button. Now move the mouse back inside the rectangle, and it still thinks your dragging, even though you’ve mouse-up’d.I guess this is because it’s not catching the onmouseup when you’re outside it’s “domain”. Perhaps make it automatically trigger the [...]

Event Delegation based DHTML Drag and Drop?

So, as the urge to tinker rises again, I’ve started playing with YUI and cracked open some XoxoOutliner code again. One of the things that struck me like a bolt from the blue recently is the notion of event delegation. For the most part, I’ve treated event bubbling as a nuisance, except for [...]