I just encountered and fixed a problem that might plague others when
using  non-list Sortables with a handle in IE.
I created a sortable using divs rather than list items and it worked
fine in IE and FF without a handle but when I specified a handle
(which was a div) it stopped working in IE, the items wouldn't drag
and trying would just select the text.

The issue was that IE and I differed in our opion on how long the
handle div was - I thought it was all the way accross the page, IE
though it ended at the end of the text that it contained. IE was
right, I was wrong, so that when I went to drag I wasn't over the div
at all, even though it looked like I was.
I added 'position: relative;' to the css class for the div and then
everything worked fine - I suspect you could also set the width as
well and that would work.

Hope this helps someone avoid the wasted hour I spent figuring it out.

Dale


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to