Its okay, yet again i have answered own question !!!!

If anyone is interested i have created containment for draggables and 
resizeables (which is sorely missing in the class) ... it works pretty well 
and wont allow an element to be dragged outside the viewport or resized out 
of it either .. this includes top,left,right,bottom

Regards
Alex
----- Original Message ----- 
From: "Jeztah" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Tuesday, November 11, 2008 8:07 PM
Subject: [Proto-Scripty] onDrag - scriptaculous


>
> Hi guys/gals ..
>
> I am having some trouble stopping dragging using the dragdrop.js from
> scriptaculous ..
>
> basically i am using
> onDrag : function() {
>
>
> }
> to try to get it achieved ... but Event.stop doesnt do it, return
> false doesnt do it, return doesnt do it ..
>
> I need it to constrain things properly for a project i am doing but i
> cant get it to stop if the left / right is a negative number ...
> infact i cant get it to stop at all !!
>
>
> Anyone have any pointers ?
>
> Ta
> Alex
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to