I'm using the JQuery UI .draggable() function as shown below. The problem with the below code is that once an image is dragged, it is no longer a clickable link.
$(".linked_img").draggable({ helper: 'original', revert: 'invalid', start: function(){ $(this).click(function(){return false;}); }, stop: function(){ $(this).click(function(){return true;}); } }); My goals are 1. Drag linked images (without going to the linked page). 2. If an image is dragged, it should remain clickable when dragging stops. Any idea how to make it work?