Can you explain what the boundry is actually meant to do? The
dimensions of your layer is larger than that of the boundry.
coqs = DynAPI.document.addChild(new
DynLayer(null,55,110,90,185,'#6B9ED1'));
DragEvent.enableDragEvents(coqs);
DragEvent.setDragBoundary(coqs,0,90,30,0);
the syntax is:
DragEvent.setDragBoundary(dlyr,t,r,b,l)
this means that your boundry has a dimension that is 155 pixels shorter
than the hetght of your layer. This means that when you are inside /
above the boundry, the layer gets aligned to the top. When it is below
the boundry, it is aligned to the bottom which explains the sudden jump
that it made.
Try expanding the boundry size and you should find that the code works
as expected.
Patrick Bergeron wrote:
> I did a small test page where I'm using the
> DragEvent.setDragBoundary function and
> I'm not able to make it works.
>
> http://www.patatronic.com/debug.html
>
> Any solution?
>
> I tested it on a Macintosh (MacOs 9.1) with
> Netscape 4.7 and Netscape 6.0.
>
> Thanks,
> Patrick
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help