hi there first thanks for thoose neeto things :) got a question couse i cant figure it out: i made a supersimple demo for the drag event: http://noomik.net/test/drag.html works so far, but: if i remove the code between line 20 and line 27 (in the drag.html) it won''t work any more and i get an javascript error in the dragdrop.js in line 311 saying drag has no properties. any ideas? thanx an have a sunny day, daniel .)
Daniel, I had the same problem at first. You need to have a Droppable element for the draggables to be dropped into. See the documentation. -Jeff ----- Original Message ----- From: "Daniel-Philipp Gona" <daniel.gona@gmail.com> To: <rails-spinoffs@lists.rubyonrails.org> Sent: Tuesday, June 28, 2005 7:36 AM Subject: [Rails-spinoffs] dragdrop straaange behavior> hi there > > first thanks for thoose neeto things :) > > got a question couse i cant figure it out: i made a supersimple demo for > the drag event: http://noomik.net/test/drag.html > > works so far, but: > > if i remove the code between line 20 and line 27 (in the drag.html) it > won''t work any more and i get an javascript error in the dragdrop.js in > line 311 saying drag has no properties. > > > any ideas? > > thanx an have a sunny day, daniel .) > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
This is fixed in the current svn trunk :) -- so you can use the Draggables ''stand-alone''. thomas Am 28.06.2005 um 19:29 schrieb Jeffrey Moss:> Daniel, > > I had the same problem at first. > > You need to have a Droppable element for the draggables to be > dropped into. See the documentation. > > -Jeff > > ----- Original Message ----- From: "Daniel-Philipp Gona" > <daniel.gona@gmail.com> > To: <rails-spinoffs@lists.rubyonrails.org> > Sent: Tuesday, June 28, 2005 7:36 AM > Subject: [Rails-spinoffs] dragdrop straaange behavior > > > >> hi there >> >> first thanks for thoose neeto things :) >> >> got a question couse i cant figure it out: i made a supersimple >> demo for the drag event: http://noomik.net/test/drag.html >> >> works so far, but: >> >> if i remove the code between line 20 and line 27 (in the >> drag.html) it won''t work any more and i get an javascript error >> in the dragdrop.js in line 311 saying drag has no properties. >> >> >> any ideas? >> >> thanx an have a sunny day, daniel .) >> _______________________________________________ >> Rails-spinoffs mailing list >> Rails-spinoffs@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
fantastic! On Jun 28, 2005, at 7:30 PM, Thomas Fuchs wrote:> This is fixed in the current svn trunk :) -- so you can use the > Draggables ''stand-alone''. > > thomas > > Am 28.06.2005 um 19:29 schrieb Jeffrey Moss: > > >> Daniel, >> >> I had the same problem at first. >> >> You need to have a Droppable element for the draggables to be >> dropped into. See the documentation. >> >> -Jeff >> >> ----- Original Message ----- From: "Daniel-Philipp Gona" >> <daniel.gona@gmail.com> >> To: <rails-spinoffs@lists.rubyonrails.org> >> Sent: Tuesday, June 28, 2005 7:36 AM >> Subject: [Rails-spinoffs] dragdrop straaange behavior >> >> >> >> >>> hi there >>> >>> first thanks for thoose neeto things :) >>> >>> got a question couse i cant figure it out: i made a supersimple >>> demo for the drag event: http://noomik.net/test/drag.html >>> >>> works so far, but: >>> >>> if i remove the code between line 20 and line 27 (in the >>> drag.html) it won''t work any more and i get an javascript error >>> in the dragdrop.js in line 311 saying drag has no properties. >>> >>> >>> any ideas? >>> >>> thanx an have a sunny day, daniel .) >>> _______________________________________________ >>> Rails-spinoffs mailing list >>> Rails-spinoffs@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >>> >>> >> >> _______________________________________________ >> Rails-spinoffs mailing list >> Rails-spinoffs@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >> >> > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >