See below...

> The thing to do is to reset the css position and
> display propreties whenever you remove the layer.
> 
>       big2.addChild(lyr1);
> 
>       big2.addChild(lyr2);
> 
>       big2.addChild(lyr3);
>       big1.addChild(lyr3);
> 
>       lyr1.css.display = 'inline';
>       lyr1.css.position = 'relative';
>       DragEvent.setDragBoundary(lyr1);
> 
>       lyr2.css.display = 'inline';
>       lyr2.css.position = 'relative';
>       DragEvent.setDragBoundary(lyr2);
> 
>       lyr3.css.display = 'inline';
>       lyr3.css.position = 'relative';
>       DragEvent.setDragBoundary(lyr3);
> 
> This might however affect the DragBoundary as the
> layers are displayed inline with position set to
> relative.
The display and alignment are perfect now!
However, DragBoundary is still incorrect.
It seems that no matter what parameters I put into the setDragBoundary
function (or not using it at all), the boundary is still the same.
All the boundaries are offset to the lower right.

> 
> IMO it's best to use a reflow system to re-align your
> layers inside there parent. I do hope someone will one
> day be able to create such a library.
If nothing works for me, then I will create one.  However I think
letting the browser do the job is more efficient and less likely to
cause bugs (or not?).

Jack



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to