Dragging...to html?

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 08 Mar 2009 Link to this post

    Kind of had an idea to have some sort of designer where I can drag around items inside of a panel, then export their co-ords to html (or xml)...kindof like a dynamic layout on my page.

    This do-able with the raddock, or is my only option to create docking areas to drag the items into?
  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 09 Mar 2009 Link to this post

    Hey Steve,

    Something which you could try...

    Check out this demo:


    Notice how if you drag the docks over to the right, they'll stay floating where you drop them?  You can combine this with the client-side get_left and get_top methods to retrieve the location on a page where the dock is at.  You can see other client-side methods on the help page, in case there are any other settings that you want to save.  You can retrieve these values in OnClientDragEnd on the client-side, then you'll just need to save them by your own methods to preserve the state of the dock. :)
  3. DevCraft R3 2016 release webinar banner
Back to Top