drag-and-drop

Dojo extending dojo.dnd.Source, move not happening. Ideas?

NOTICE: THIS IS SOLVED, I WILL PUBLISH THE SOLUTION HERE ASAP. Hey all, Ok... I have a simple dojo page with the bare essentials. Three UL's with some LI's in them. The idea si to allow drag-n-drop among them but if any UL goes empty due to the last item being dragged out, I will put up a message to the user to gie them some instructio...

Kill a node in dojo.dnd.source ?

Related to my SO issue at http://stackoverflow.com/questions/3010996/dojo-extending-dojo-dnd-source-move-not-happening-ideas/3012518#3012518 I am now almost done. I have a dnd.Source derived class - we can consider it a dnd.Source for now, that has within it a node that has a specific class. function declare_mockupSmartDndUl(){ ...

Dragging and Dropping between Lists when it is populated dynamically

Am a newbie to programming and have seen examples on dragging and dropping items from one list to another list using jQuery. My problem is that my list is populated dynamically and so i cannot predefine the list items. Can anyone provide a solution to this? Am working in Visualforce.Thanks in advance. ...

Javascript File Drop

Is there a way to get the absolute file path of a drop event using Javascript, or should I use another technology? If so, I can do the same with folders? ...

How can I force a tree itemrenderer to redraw during a drag and drop operation?

I have a tree control with a custom item renderer. The item renderer has different states that should be set while an item is being dragged over the item renderer. I understand from reading this post http://forums.adobe.com/message/2091088 that the 'right way' to do this is to override the 'getCurrentState' method and append some text. I...

ActionScript Drag and Drop Display Objects With Mask And Filter?

i've created a sprite to drag and drop around the stage. the sprite is masked and has it's mask as it's child so that it too will drag along with the sprite. everything works fine until i add a drop shadow filter to the sprite. when the drop shadow is added, i can only mousedown to drag and mouseup to drop the sprite if the mouse even...

Drawing lines between windows just like in Interface Builder

I have two windows, each with a round NSView: ------------------ ------------ |X-+ Oscillator | |X-+ Mixer | |----------------| |----------| | | | | | O | | O | | | | | | | | | ------------------ ------------ Bo...

Delete Drag and Drop Behavior of IKImageBrowserView

Hi Everyone: By default (it seems), IKImageBrowserView enables drag and drop to locations in the Finder. I would like to turn off this behavior but am unsure of how to do so. I was thinking that perhaps implementing the NSDraggingDestination protocol and overriding it could solve this, but so far it hasn't worked for me. Thanks for a...

Drag and drop to reposition content inside a TinyMCE editor

I'm using TinyMCE and I'd like to make it easy to click and drag styled elements inside the content area. This works very well for (unstyled) images, as the browser seems to handle them natively, so you can drag an image and drop it on another line in the content area and the image gets moved there. What I'd like to do is have a div wi...

jQuery's draggable grid

It looks like that the 'grid' option in the constructor of Draggable is relatively bound to the original coordinates of the element being dragged - so simply put, if you have three draggable divs with their top set respectively to 100, 200, 254 pixels relative to their parent: <div class="parent-div" style="position: relative;"> <di...

C# / WPF / .NET - Drag and drop to Desktop / Explorer

Hey Guys Following my scenario. I got an Application which loads a Filestructure (Folders, Files) from a Database into a WPF ListView. Now I'd like to grab a file from this ListView, drag it over my Desktop (or some open explorer window) and drop it there. Basic Drag and Drop, nothing fancy. This sounds like a "standard" function for a...

How to rotate MXML component round its center like a wheel respectfully to mouse?

So I have that panel or any other mxml component. I want somehow to rotate it around like a wheel of a car with which you drive it... loke a Racing wheel... sow like when mousebutton is down it captures pont of component... when you move mouse component rotates (not moves) according to new mouse position... How to rotate MXML component r...

Event propogation whilst container is not initialised

Hi, I have a Canvas (lets call it the Drop Box) which users can drag and drop external files onto. Next to this I have a ViewStack, of which one of the layers is a Canvas with a TileList. I have successfully managed to code it so that the items dropped onto the Drop Box appear in the TileList. I simply capture the darg drop event (let...

jQuery UI Drag/Drop does not work in FF

I've been looking all over the place, but I haven't landed an answer yet. Is the current jQuery UI 1.8-1.8.2 supports Firefox 3+? I have 3.6.3 installed, but the example on their websites works for my IE7, IE8, Chrome, but not Firefox. http://jqueryui.com/demos/sortable/#connect-lists Is anyone else having this problem? It is not PC s...

Flex 4 block drop

Hello, Is there any way to block the drop when Im doing drag and drop in a spark list and this list is drop enabled. I want to block it after a certain item that has a different kind of itemrenderer. Thank you in advance ...

drag drop div in textbox

Hi all I have a repeater in the right side of my page and a textbox at the left of the page. have created the items in repeater in a div so that i can move them into the textbox. on drag drop of the same, the value in the div shall be copied over in the textbox. Kindly share code if any ...

Drag and Drop from another application with mouse button down does not fire event

I am trying to drag and drop a file onto a control in my application. The problem is that when you hold the mouse button down (i.e. dragging from widows explorer), my app does not fire any of the form events. They all work fine if the mouse is not down. Is appears that I need to enable the 'AllowDrop' for the application (it is enabled o...

WPF drag cursor in default cursors

I'd like to use the default drag mouse cursor on mouse-over a UIElement to indicate a control is draggable. The cursor that looks like an arrow and a FocusVisual rectangle with an overlapping plus sign inside a rectangle. Basically, the cursor that is used when setting DragDropEffects.Copy during a drag operation. However I'd like to...

Drag & drop across frames with jQuery UI

I would like to do this: Drag a DIV element from a first document that contains an IFRAME Drop this DIV element into into a second document, inside the IFRAME. Is there a way to use jQuery UI draggable & droppable to achieve this? or otherwise do this in a cross-browser way, possibly with another JS library? ...

Jquery Draggable and Droppable, dropping full div content

I have a div: <div> Hello there <img src="cnnc.png" /> </div> <div id="cart"> <div class="placeholder">drop here</div> </div> and I want to be able to drag it into my droppable box and append all the content of that div to my droppable box. The problem is that my droppable code only appends text to the box, how can I change...