Forum: Ruby on Rails Save the position of a Dropped element

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joe S. (Guest)
on 2007-05-16 23:44
I'm working on creating something similar to igoogle.  The idea is that
a user can drag an element anywhere on the page at which point the
elements position will be stored in the database and be used to place
the element in that spot whenever the page is loaded.

I'm having trouble figuring out:

1.  How to get the elements position
2.  How to set all the elements to the correct position when rendering
the page.

Thanks in advance.
This topic is locked and can not be replied to.