I have this example of jQuery UI plugin - swingdrag.
This plugin has several functions, but it does not have the function to set the limits of the object that is dragged.
For example: - I have a Main div (500x500px) and inside I have the draggable object (200x200px). How to set the area limit (500x500) for that object? - Or for example, to establish the limit of the area that occupies all the resolution of the monitor, so that it does not happen as in the link that leaves.
PS: Why do I want to use jQuery swingdrag Plugin and not the draggable library? Because the first has nice effects (shadow, angle of rotation, etc ...)