jQueryUI Sortable mit leeren Listen

Blog-Eintrag vom 19.11.2010

Ein kleiner Tipp für alle, denen ähnliches geschieht: Das Sortable-Plugin von jQueryUI kann wundervoll mit leeren Listen umgehen. Allerdings müssen diese auch im leeren Zustand eine Höhe >0 haben, etwa via padding:1px, damit Elemente in sie hineinschiebbar sind. Ansonsten wird das Element nicht erkannt.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options