From: Typo-Team p. <put...@ty...> - 2000-11-15 15:54:05
|
Hello mailinglist! First my thanks to the guys working on this project. You´re doing a really great job!!! Couldn´t find anything on that in the archive so I hope I´m not posting a real dump question.... I´m fiddleing around with drag&drop, used the dynapi.ext.dragdrop. First prob was, there was a call to a hasChild method of the DynLayer obj. Couldn´t find such a method, changed that to this.children.length. Am i doing something wrong or was there a change in the DynLayer obj? Second question: i´ve got two layers, one is dragable the other is fixed and has got the ondrop listener. Is there a way to get acces to the object of the dragable layer in the ondrop function. e.getSource is the source of the event (which is the fixed layer). The idea is to generate layers fed with images from a db. These images should be dragable and if they are positined on 'hotspots' entries in the db should be changed. Therefor I need to know which pic was moved over a 'hotspot' Sorry about writing such a long mail (I´m no native speaker) but I hope someone can offer some help or hit me on the head to understand the API better ;-) Greetings Björn |