L
L
lebuhorskyy2020-04-24 11:59:04
css
lebuhorskyy, 2020-04-24 11:59:04

Hello, how can I make it so that, for example, a dialog box on the site can be dragged to any position on the window while holding down the mouse ???

how to implement this task?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Tigran Abrahamyan, 2020-04-24
@lebuhorskyy

dragging things is called drag and drop, keep examples think create your own window
https://javascript.info/mouse-drag-and-drop
https://codepen.io/mayurbirle/pen/LyQejQ

A
adyvan1, 2020-04-24
@adyvan1

jQuery UI has a drag and drop dialog box,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question