How to implement "drag n drop" user interface on website?
        Posted  
        
            by Nikkeloodeni
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nikkeloodeni
        
        
        
        Published on 2010-04-20T11:00:44Z
        Indexed on 
            2010/04/20
            11:03 UTC
        
        
        Read the original article
        Hit count: 279
        
Hello,
I was wondering what would be the best way to implement some kind of "drag n drop" user interface?
What i mean is that there would be one main page and every link click (eg. other sections like about, gallery, contact form) would open a new drag n drop element on top of that main page. Something like windows desktop where you can move your application windows around the screen.
Would it be best to call different functions with AJAX when a link is clicked? Like "gallery" link would call gallery-function and retrieve dynamically generated contents of that "window" with AJAX call and then just load that stuff on some div? Or would some other type of approach suit better for this?
I hope I was able to explain this clearly enough. I'm looking for a proper "design pattern" to implement this. All suggestions are wellcome! :)
© Stack Overflow or respective owner