I've updated CVS with many important bugfixes and improvements. In short:

- Fixed 2.5.6 drag bug that almost got Doug fired ;)

- Added disabling contextual menus for each dynlayer ( off by default, 
example page is provided )

- Only one event is captured per page. I realized I we were using the 
event's target properties to determine the dynlayer where it occured, 
hence with one single event being captured in the document everything 
works in the same way. Moreover, remember that capturing a layer event 
was layer.doc.capture....  since all layers share the document ( except 
NS4 ) we were capturing the same events once and again. Try the strech 
tests and see how intializacions are a lot faster now. About 4ks of code 
are gone, as well :)

- You can add layers on load time. Yeap no more waiting for the onload 
event. This was almost as easy as document.write(layer.getOuterHTML()). 
This transparent to final users, of course. Let's just say you can use 
the addChild method any place in you code, not only after onLoad.

- Since they can be added onpage load, they can be made relative. Yep, 
place them within a table which defines your layout and it will work. 
Still some flaws ( see example in tests/ directory where a scrollbar is 
working inside a relative positioned table ) but pretty promising.

-----

Code was anottated when changed. Examples are provided for new stuff.

Please test this throughoutfully (with complex projects you may have 
rather that just the default examples ) and provide feedback. Forget 
about the inflow stuff not working, please, it is just alpha work. What 
I'm concerned about is the features we already had in previous versions. 
I'd like this to become 2.5.7 and I want my mistakes to be detected 
before it is released.

Regards.


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to