I am experiencing a problem with scroll when dragging items to my drop
area. I tried using the scroll option, looked through other forum
disscussions but I have not been able to find a solution.
I have a side by side layout where i drag elements from myTable into
dropZone. The workArea div has overflow: scroll enabled. My problem is
when the list becomes long and I have to scroll down to get to a
dropZone. Everything is fine until it gets to a dropZone and then the
element I am dragging shifts up to the top.
<div id="workArea">
<div id="dropZone">
</div>
....
</div>
<ul id="myTable">
<li></li>
<li></li>
</ul>
Position.includeScrollOffsets = true;
Sortable.create(''myTable'',{tag:''li'', scroll:
''workArea''});
Sortable.create(''dropZone'',{tag:''li'',
scroll: ''workArea''});
any help is appreciated thanks...
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---