Questions tagged as 'drag-n-drop'

1
answer

Animation and Transform Rotate with reference point

I'm having a question if you can do the following functionality: I did a drag and drop encoding only in a specific area (The pink area) The red area is as droppable = false Can I do an image rotation where it points to the reference po...
asked by 25.09.2017 / 18:30
1
answer

PrimeFaces DragDrop does not trigger event

I'm trying to do exactly what is in the documentation about DataGrid I drag the components and drop into p:droppable , but nothing happens, it gives a revert and does not create the table as in the documentation example. My...
asked by 21.02.2017 / 13:38
0
answers

Handle sorting Drag and Drop values with Jquery

Scheme in image: Problems:Theorderandquantityofthefirstcolumnboxesshouldnotbechanged.IcouldnotjustleavethemforDRAG,thatis,Icannotremoveaboxfromthesecondandpassitbacktocoluna1,butbetweenthecolumnsofthedayoftheweekandwithoutgeneratingcopies.Ine...
asked by 03.02.2016 / 19:18
1
answer

Drag & Drop with parameter

I'm doing a dynamic form. Where has a button that adds the type of the field (Date, Time, Text, Email, etc). And I wanted to sort those fields with drag and drop. I would need to return the position of the fields, as I will save the order, type...
asked by 19.10.2015 / 19:09
2
answers

JScript and CSS - Rotate by rotating the div instead of an image

Hello, I used a JavaScript library to rotate an image by clicking on it, in a javascript snippet I put what will spin when you click: $("#conteudo").rotate({ The problem is that it's spinning the entire div :( How can I put to run only...
asked by 26.09.2017 / 13:45
1
answer

Droppable jQuery event does not work

I have the following code to do the Drag and Drop event: $(".device-profiles").draggable({ revert : true, start: function(event, ui) { dragColor = $(this).attr("data-color"); console.log("dragColor: " + $(this).attr("da...
asked by 05.09.2014 / 19:14
1
answer

Drag n Drop - Android

I've done a Drag n Drop system, but when I enter the item, it looks like gravity is top, when inserting new ones, they get on top of each other, how do I drop where I drop my finger? / p> The items are in a ListView, I get them like this: pu...
asked by 23.04.2018 / 03:22
1
answer

Apply the JQUERY UI Revert Property

I'm having a problem handling jquery library UI. I have the code in the link below.This code provides the creation of clones of the textarea that are dragged to the field / area just below. I'm trying to apply the property (revert) to when the e...
asked by 08.02.2018 / 16:30
1
answer

Drag & drop: Detect when the element is not released in the marked place

I'm working with drag and drop , and need to detect with JS when the element is not dropped in the marked zone, ie when I drag the element but loosen it and it goes back to its place. Is it possible to do this? HTML + Javascript...
asked by 11.01.2018 / 00:56
1
answer

Div Image Placement with drag and drop

Good morning, what I'm trying to do is a system where the user uploads an image and has a preview of how the image will be positioned in div and can move to the position you think is best. It's basically the same thing as the Facebook...
asked by 30.01.2015 / 16:15