I’m working on a project that needs a lot of draggable items on one droppable place, I know how to create draggable and droppable items with the various options, but what I’d like to do is give these a custom look. Is there a way to do this? I’ve bbeen searching google for ‘jquery change draggable shape’ and other varients with no luck.
Share
Depends on how much customization you need. If you just need a couple CSS tweaks, then:
So you can could key your changes on
.ui-draggable-draggingand whatever other selectors you have to narrow it down.If you want to do something that requires more than just a couple CSS tweaks, then you can render the whole draggable version yourself with the
helperoption:So something like this would offer a lot of flexibility: