Thanks for your help. i tried your line, but that make me an error. Firebug say :
myDraggable is not defined (?)()()scroll.js (ligne 123) defn()()mootools...1-core.js (ligne 1965) myDraggable.droppables.include(dropp); On 16 déc, 20:25, moro <[email protected]> wrote: > try: > myDraggable.droppables.include(newDiv) > > NicoSalto: > > > Hi everybody, > > i have a problem with a drag and drop application. I creat a drag and > > drop like that: > > var myDraggable = new Drag.Move($(element), {options...}); > > > And after i create some new div, and i want to insert this new div in > > the "drag" as droppable div! > > And i don't know how to do that, because there are no fonctions for > > that. It exist this one to add a draggable div only: > > var myDraggable = $(element).makeDraggable({options...}); > > > Do you know a way to do that? Should i need to recreate a new drag ? I > > tried, but its impossible, that make some code error ...
