Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

save location of draggable divs

Status
Not open for further replies.

theotrain

Programmer
Mar 5, 2003
150
MX
my javascript is pretty sketchy. i've got someone who wants to do some draggable divs using sript.alicio.us similar to this:
that all seems fine, but i wonder is it possible to save the state of a page like that, where you have dragged stuff all around? if i wanted to come back to that page and see all the blocks right where i left them... is that possible? anybody point me in the right direction of how it could be done?

the text itself would have to be saved in a text file or database i suppose... but to draw the html file correctly when you come back it has to know which container all the text blocks should all be in, and in what order. would that involve looping through all the elements of the page and saving their state somehow?

help appreciated! the more specific the better. i've never done anything remotely like this in javascript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top