Sortable having problems..
I have a span which contains several children spans, basically an
image gallery that is sortable. A page will display 1 or more image
galleries in this fashion..
Please take a look at the pic before reading my poor description of
the problem:
<a href="http://tinypic.com" target="_blank"><img src="http://
i41.tinypic.com/dbtwkk.jpg" border="0" alt="Image and video hosting by
TinyPic"></a>
When I create a new "image span" (highlighted in the pic) and appendTo
a "gallery span", everything seems to work fine until I try to sort
that new "image span".. If I leave it at the very end of my gallery
span, the sort looks fine, If I move that new image span to the right
edge of any row then the sort looks fine. Any other location and it
always leaves a blank "cell" underneath and then all of the leftmost
cells on that row beneath empty.
All of the image spans have float:left.. if I move any of the regular
images on the gallery span, they sort fine and all of the images
maintain the nice looking grid by floating left.
Any ideas?
Do I have to somehow reinitialize all of the image spans to sortable
after I append a new span?