got answer on IRC: just set css display:none; so easy :-)
On Oct 27, 8:25 am, Josef Richter <richter.jo...@gmail.com> wrote: > Hi, > > I'd like to disable placeholder in a particular list. I want this > "list" to contain only a single item at a time, i.e. when I drag new > item on it, the previous one gets deleted. This should serve as e.g. > as a trash with undo functionality. > > Thus, I want to disable any shofting of the current item in this list > (due to placeholder above or below). Just want to drop the new one > over the old one to let it disappear. > > I tried various css adjustments, as well as forcePlaceholderSize > options etc., but no success. > > I also tried using a droppable instead, connected to sortable, but it > was kinda tricky - I had to dynamically ad 'draggable' property to > sortable items, which then disappeared when moved back from droppable > to sortable, etc. So having the trash as another sortable seems a bit > easier to me. > > Thanks for any guidance > > Josef --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---