Questions tagged [jquery-draggable]

Jquery-draggable is a jquery interface to enable draggable functionality on any DOM element. Move any draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

Jquery-draggable is a jquery interface to enable draggable functionality on any DOM element. Move any draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

162 questions
0
votes
1 answer

Is there anyway to change the text/icon that is shown when dragging an image?

I am using plupload (http://www.plupload.com/). It has the ability to drag and drop photos to be uploaded. In IE, the text says "Move" In Chrome, the text says "Copy" Is there anyway to specify to IE that I want it to show the Copy icon?
AllisonC
  • 2,973
  • 4
  • 29
  • 46
0
votes
1 answer

jsPlumb Draggable with Container Element - How to setup?

How do you set up jsPlumb draggable divs, with a container div? I have a container positioned relatively, and the divs to be draggable positioned absolutely (this is what the documentation suggestions). The container is 100px from the top of the…
0
votes
2 answers

Jquery UI Draggable clone disappearing

I am trying to use the jquery-ui draggable to make some element draggable. I set the helper option to clone the current element. It's making the clone correctly but when I drop the clone disappears. It doesn't stay at the dragged place. See this…
Saif
  • 6,804
  • 8
  • 40
  • 61
0
votes
1 answer

jQuery UI Draggable and Droppable

I have a div class gallery and I have two droppable div and I have a problem with dragging an element from one droppable div to another droppable div. When I drag the drop element to the other droppable div it always go back to its droppable div.…
0
votes
1 answer

Dragging is flickery when containment's overflow property is scroll?

I want to make an element draggable in a fixed area that has its overflow property set to scroll. If I use containment property in the draggable element, then the dragging downwards or to the right becomes flickery. What I mean by this is that when…
Nihat
  • 3,055
  • 3
  • 18
  • 28
0
votes
1 answer

jQuery Drag and Droppable - Hide placeholder if droppable area has li elements

I am using jQuery Droppable Plugin. I want to hide a placeholder if Dropped
    has one or more elements. It is working fine for Drag n Drop functionality. On top of it, I also implemented click method. It will also clone the
  • element by…
Reddy
  • 1,477
  • 29
  • 79
0
votes
0 answers

jQuery - Draggable and Droppable onClick + icon from draggable add to droppable container

I am using jQuery UI Droppable... How can I add element on clicking on "+" icon from "Draggable" list to "Droppable" list as same as dragging and dropping... HTML

Drag

0
votes
1 answer

How does jquery draggable revert and droppable.drop function play together

I have seen multiple different behaviors in my code (due to a bug maybe) how the draggable revert function works together with the droppable drop event. So I need clarification. My expectation is that the revert function is called FIRST before the…
Pascal
  • 12,265
  • 25
  • 103
  • 195
0
votes
2 answers

jquery accordion on draggable element, height of draggable not auto resize

I am using jquery accordion on draggable element, after the element dragged, its height is not autoresized when the accordion inside it is collapsed. What's the problem here?
Ari
  • 4,643
  • 5
  • 36
  • 52
0
votes
2 answers

Get element of having certain class which I hover in the draggable stop event

How do I know wether I am over/hover an element of a certain .classname when I stop moving the draggable and release the mouse button so the stop function is triggered? I need to know this when I am NOT over a droppable therefore I can not use the…
Pascal
  • 12,265
  • 25
  • 103
  • 195
0
votes
2 answers

Center dragged object under the Cursor

I have created a fiddle here that you can play with: http://codepen.io/anon/pen/pvOKey I want to center the dragged object vertically/horizontally to the cursor that means when I drag an object at its corners I want then that the object is centered…
Pascal
  • 12,265
  • 25
  • 103
  • 195
0
votes
1 answer

dragging child element from parent element

is it possible to drag child element from parent element without parent element is overflowing?, its like i want to create a drag and drop event out from parent element but it keeps on overflowing, if its not possible? what else can i do? current…
0
votes
1 answer

Drag and drop and scale images but user's upload pic isn't draggable and resizable

Hello guys i found this amazing drag and drop and resize image and i am trying to add a custom modification. I added an upload button so user can upload a photo. i added the function bellow to find the last img id, create a new one and replace the…
Irene T.
  • 1,393
  • 2
  • 20
  • 40
0
votes
1 answer

Append draggable image into specific div

i am using jquery and jquery ui to drag and scale images. Also i need to append this image to the target div. my code:
Irene T.
  • 1,393
  • 2
  • 20
  • 40