java script question...

Out of context: Reply #8

  • Started
  • Last post
  • 9 Responses
  • stupidresponse0

    i see in your pastebin code, you are enabling dragging but not dropping, so first add the xEnableDrop function for each of your layers. then define a function that is the callback from your xEnableDrop functions, like the testOnDrop function on the demo page. within that is where you'll manage the array of coordinates and save it to a cookie. erm.. you're on your own on that bit.
    then of course when someone re-visits the page, you'll have to read that cookie and use the coords to reposition the layers. you can do it! sorry, i really need to sleep now.

View thread