Skip to main content

All Questions

1 vote
0 answers
31 views

Parent elements overflow act differently for different child elements?

I have problem with letting one child override parents overflow but not the other #second-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0px; height: 503px; } .inv { ...
Jack Pilstrand's user avatar
-2 votes
1 answer
135 views

js Drag and Drop with snapping [closed]

In this example, the workplace consists of 26 tables. When the employee is dragged from the top box, I want him to snapped to the red dot and only on the red dot can be dropped. Can someone help, ...
Rtronic's user avatar
  • 673
0 votes
1 answer
63 views

Why my improvements didnt make this JS Drag n Drop script stop lagging?

I have this script that works very well, it does what I want... but the only problem is that it lags when moving divs fast. I have spent hours on internet trying to find a solution, like adding ...
user3722540's user avatar
0 votes
0 answers
28 views

How not to create multiple IF with multiple different variables - Jquery/Javascript

This is a Drag and Drop function so the user leaves the items in the correct fields a victory message should appear and disable a button. Even if the user completes the 5 options as wrong, the button ...
André's user avatar
  • 362
0 votes
0 answers
58 views

Cannot drag element using JQuery draggable (plus JQuery Collision library)

I am trying to make a drag-and-drop software using jQuery draggable and jQuery collision extension. I have two obstacles [in Red] where I can not drag any element. The problem is I can not drag any ...
Ayan's user avatar
  • 55
1 vote
1 answer
372 views

How do I get my draggable elements to drag outside of a scroll box?

I have draggable elements that I'd like to scroll if they overflow the container, however, I also need these items to be draggable outside of the that scroll container. This is my code so far. http://...
denofdreamers's user avatar
1 vote
1 answer
1k views

JavaScript draggable elements inside div

I tried creating draggable elements inside a div until I came to a small issue is that I can't find a way to drag each element separately without affecting other elements, my code only handles one ...
Ashy's user avatar
  • 21
0 votes
4 answers
454 views

How to draw a rubberband or lasso to make a selection in word selection game

I am trying to put a word search game on my web page. I see here is a beautiful example: Embed a Word Search in Your Site I want to make similar gui, so that when the user selects the word letters ...
user1940163's user avatar
1 vote
1 answer
2k views

Drop event firing multiple times

So i have implemented this logic for a drag and drop area, where if the user adds a non image file, i alert the user that the file is not an image and its a invalid format. enter image description ...
Yeshan Santhush's user avatar
1 vote
0 answers
21 views

Using jquery draggable and droppable how to get element id from some list element? [duplicate]

If I select img element : .img_2 then I drag to li element : list_5 how to get that class name? This jquery code can't get list_5 I use "$('li').hover() " get data etc.... But I can't get ...
joshua.kim's user avatar
0 votes
0 answers
32 views

How do I create a draggable div that only accepts one at a time

I am trying to make an application that uses basic block coding. How can I make it so it only accepts one draggable at a time? And detect what draggable is in the "editor" div? Here is where ...
DevSteven's user avatar
2 votes
1 answer
338 views

Target a selector to do a drag & drop

When I click I create a point in a div. I would like to be able to move this point in a drag and drop way. In my code I have created an orange item that I can move but I can't do it with the points ...
nk6's user avatar
  • 27
1 vote
1 answer
5k views

Jquery Drag drop - One list with sortable and other list with draggable & droppable without sort

I am trying to drag drop items between two lists, My requirements are, List A (with drag and drop to List B but not sortable) item 1 item 2 item 3 List B (with sortable and drag/drop to List A) ...
US-1234's user avatar
  • 1,529
0 votes
1 answer
48 views

Drag non-selectee div within jquery selectable

I'm trying to make a jquery selectable that makes some elements selectable using filter, but also have some other elements with a different class be available for dragging (but I am not trying to make ...
azeldes's user avatar
  • 193
1 vote
1 answer
111 views

How can I type text after dropped content

I'm using jQuery UI draggable component to add to content editable .This code works to find and I have little issues. The problem is when I dropped the draggable component as the last word of the ...
Sachith Wickramaarachchi's user avatar

15 30 50 per page
1
2 3 4 5
12