Ahh, yes, good thinking. I'll bet the document.documentElement wasn't working how you wanted because your content wasn't pushing that element down far enough on the page (it must only make itself tall enough to envelope the bottom-most element).



On 6/13/06, ML <[EMAIL PROTECTED]> wrote:
Leon,

"scroll: window" did the job. Thanks a lot!


On 6/13/06, Leon Chevalier <[EMAIL PROTECTED] > wrote:

-----Original Message-----
Would anyone happen to know how to make sortable/draggable scroll down
the page while moving the object if the page happens to be larger than
the screen size?
_______________________________________________

Hi,

I use

Sortable.create(table,{handle:'handle',constraint:false,ghosting:false,scrol
l:window,scrollSensitivity: 20,scrollSpeed: 25})

And every element of my sortable can then be dragged down the page.

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to