So the images in the div are sortable. If images exist in the div when the document loads and I add more images to it the sorting works fine. If it is empty (so the div would have nothing to sort once it loads) and I add images to it, it's kinda crippled.
I'm trying to get around this behavior, anyone who could help me out with this? On Mar 17, 12:59 pm, bart <[email protected]> wrote: > Hi all, > > I have a div which I've set a sortable to, the sortable items in the > div are images. > > $("div#pics_new").sortable( > { > axis: 'x', > cursor: 'move', > opacity: 0.7, //0.01 - 1 > placeholder: 'newplace', > forcePlaceholderSize: true, > update: SetOrder > > }); > > On document.ready the div is loaded empty and the images are > dynamically being add to it. I experience the sortable __does__ work > this way, but a lot worse than how it would if the images were there > right from the start. Does this too have something to do with > rebinding events? Because the images weren't there on load? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
