PDA

View Full Version : save configuration file in JavaScript or AJAX?



batman
10-12-2006, 08:23 PM
base on the DOM: Drag & Drop post here: http://www.dynamicdrive.com/dynamicindex11/domdrag/

i would like to save the last position the handle was displayed, so new time when the user connect to this page, the browser read the last position and disply the handle in the same position.

thanks,

matt.

DimX
10-12-2006, 08:47 PM
Configuration file? What about cookies (http://www.quirksmode.org/js/cookies.html)?

batman
10-12-2006, 08:53 PM
ok, but i have never worked with cookies, would you give me an example?

thanks,

matt.