Hi,
Is there a way to prevent the dialog from going outside the document
view when dragging it ?
This must be something like this but I don't how to complete:
dialog({
dragStop: function(ev, ui){
if (ui.position.top < 0) {
/* Missing code to prevent further move */;
}
}
})
Olivier.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---