Streaming live at 10am (PST)

How to make my site be able to drag and drop?


#1

anybody has solution with webflow?


#2

Hi, there is no built in drag and drop widgets for published sites, and I do not have any ready made example in Webflow for you, but you can achieve this drag and drop in Webflow with a little custom javascript code using jQuery UI. There is examples and information at below links:

http://jqueryui.com/draggable/
http://jqueryui.com/droppable/

You can create some custom javascript code, and paste that into your Before Body text panel of the Custom Code section in Site Settings.

You will also need to include the jQuery UI library script link, and put that in before your drag and drop functions in the Custom Code section:

<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>

It should be pretty straight forward to create some drag and drop elements on your page if you follow the jQuery UI instructions. I hope that helps point you in a possible direction. Cheers!


#3