> 3) Both columns (divs) are scrollable. If you scroll the left column
> to the bottom, then drag an item to the right, you will note that the
> actual item is no longer in-line with the cursor, but ratheroffsetby
> some (I imagine) percentage of the div on the left that is hidden. Is
> there any way around that? That's the major issue I have no in terms
> of usability.

I spent a dozen or so hours trying to figure this one out myself.
Considered everything from changing the page layout so it wouldn't
require scrolling the div to fiddling with drapdrop.js, but the answer
was right infront of my eyes all along...

http://wiki.script.aculo.us/scriptaculous/show/Sortable.create

Option: scroll

"...To get this to work correctly, include this line in your code
before creating the sortable: Position.includeScrollOffsets =
true;..."

Even though my aim wasn't to have the draggable container auto-scroll,
adding this code has solved the offset problem!!

Hope this will save many hours for some people!
Good night!
Suhi
--~--~---------~--~----~------------~-------~--~----~
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