I have some images which are linked to videos which are displayed within the shadowbox. The images are draggable enabled by jquery, but when the mouse is released after dragging it, shadowbox opens the video.
I would like to prevent shadowbox opening after dragging. I achieved individuating the element which has been dragged by the hasClass() method/function? of jquery. But there is no way to prevent shadowbox opening the video.
Shadowbox.close // i tried also .remove(); .stop(); .disable();
but all this does not prevent shadowbox opening the video.