I have a symbol in the edge with drag function (mouseover-move with mouse), now I want to limit what is the area within my document, where you can move it.
For now this is the code I have:
function(sym, e)
// insert code to be run when the symbol is created here
yepnope({nope:['jquery-ui-1.10.4.custom.min.js'], complete: init});
function init(){
sym.$('car').draggable();
sym.$('car2').draggable();
}
that would be to move the symbol ('car').
Now I need help writing the code to limit the area where it will be possible to drag the object. Grate