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.
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.