Skip to content

Tag: draggable

Use a child element to drag a parent element

I want to make something like navigation bar that can move whole element, without allowing dragging anywhere on the parent entire element to control the dragging. For example: Dragging on a title bar drags the whole window that it is contained within, but dragging elsewhere on the window container does not dr…

Moveable/draggable

This is my updated and modified script, it works completely, except I would like to universalize it… observe the **** how can I make it so that I don’t have to do function(e){BOX.Draggable.elemen = e.target || e.srcElement; elementDraggable(e); everytime I need to use the dragable function for a d…