+ 5

Movable div

i will a div tag in html page be movable using users. means users can move this div to other location in page. please help me.

22nd Jun 2017, 2:04 PM
Atiye Khajepour
Atiye Khajepour - avatar
6 Respuestas
0
Since you're using jquery, I'd recommend checking out jQuery UI (something the creators of jQuery made) https://jqueryui.com/ It has a lot of useful stuff for you to use with jQuery. Honestly, it's one of the few must haves when I'm working with jQuery.
22nd Jun 2017, 2:07 PM
AgentSmith
22nd Jun 2017, 2:18 PM
Maz
Maz - avatar
+ 3
thanks Netkos Ent.
22nd Jun 2017, 2:25 PM
Atiye Khajepour
Atiye Khajepour - avatar
+ 2
thanks for your answer. i do'nt use jquery UI up to now. can you help me how i must use jquery UI for movable div?
22nd Jun 2017, 2:18 PM
Atiye Khajepour
Atiye Khajepour - avatar
+ 2
thank you very much maz
22nd Jun 2017, 2:21 PM
Atiye Khajepour
Atiye Khajepour - avatar
0
If you check out the website I sent you, just read through it. jQuery UI adds a lot of useful features to jQuery so that common things like this are easily done without the need to write a bunch of code. Much more to jQuery UI than just the draggable feature.
22nd Jun 2017, 2:23 PM
AgentSmith