Questions tagged as 'drag-n-drop'

1
answer

How to fire the drop event by pressing enter on ExtJs

I would like to know if I can trigger a drop event by pressing enter on a TreePanel. I am not able to fire the event manually, which I have achieved so far: mediaCenter.getEl().addKeyMap({ eventName: "keyup", binding: [{ key: E...
asked by 04.08.2014 / 16:46
1
answer

How to save the results of a "drag-and-drop" table?

I need to do a drag-and-drop that looks like the image below, which is the system I'm developing. In the buttons referring to "1st Period", "2nd Period" and others, I put a function that returns the disciplines referring to the period informe...
asked by 10.02.2014 / 14:47
0
answers

Head Break with DIV

In my jokes in HTML and JavaScript, I've tried to create a mini-puzzle with the block and the place where it's placed. function parseNumber(num) { return parseFloat(num.replace(/[^\d]/)) || 0; } var movePopUp = (function() { var startX...
asked by 13.12.2018 / 05:14
1
answer

Drag and drop Unity

I'm trying to develop a simple Android game in Unity, with drag and drop objects. I used the following method to get the object: public void drag(){ transform.position = Input.mousePosition; } Problem: Accepting simultaneous ringtone...
asked by 30.10.2018 / 17:49
0
answers

Create forms using drag-and-drop with PHP and Mysql

I want to do the following. In 02 columns of Bootstrap, in one of them have the information that the user would like to include in the form and the other a field for him to drag this information. Ex.: <div class="col-md-6"> Nome E-mail A...
asked by 20.10.2018 / 13:56
1
answer

Error in columns with sortable, how to solve?

I have a 3-column layout containing cards, I need these cards to be dragged from one column to another and rearranged within a single column. I've got jQuery to make the cards draggable, but I can only drag from column 2 and column 3 to colum...
asked by 06.07.2018 / 17:25
1
answer

Drag and Drop Fullcalendar

The documentation of fullcalendar is well summarized and I'm having trouble coding Drag and Drop. Could anyone give a light on how to start this function? eventDrop:function(event, delta, revertFunc) { alert('ok'); } I'm still dev...
asked by 19.01.2018 / 18:39
1
answer

Drag and Drop - Blocking the ondrop in a child div

I have a% circular (lower and red)% within a% circular (greater and blue)%. I would like to block drag and drop in the smaller circular area and allow only in the blue area, follow the example below:    In the script there is div...
asked by 22.09.2017 / 14:04
1
answer

Drag and Drop (Drag an item already dropped)

Good morning !! I need help with JScript. I made a Drag and Drop code where I put a gif inside the content div and I can move it freely. I just can not do the following: When I try to drop a gif next to an item already dropped in the content di...
asked by 18.09.2017 / 15:56
1
answer

How to reference an object from one Activity to another?

Good evening, I'm developing a multi-button app, where you can drag a button and drop it to a certain place already defined in the application, and each button has to open another screen with a different animated image (GIF) that you have with t...
asked by 27.07.2017 / 03:07