Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default Drag And Drop Help?

    Right well what I want to do is make a script where the users can move the images around and save them, and when they save them, it saves the X and Y co-ord's of the images into a database.
    I got a drag drop script but it doesn't output the co ordinates.
    Anyone help me?
    NOTE: This wont be a Habbo Homes system.

    Moved by Agesilaus (Forum Moderator) from Designing & Development: Please post in the correct forum next time.
    Last edited by Agesilaus; 08-01-2008 at 04:15 AM.
    i've been here for over 8 years and i don't know why

  2. #2
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    http://www.techtuts.com

    theres a tutorial on drag and drop. Have a read
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  3. #3
    Join Date
    Nov 2006
    Location
    Bolton
    Posts
    3,564
    Tokens
    1,804

    Latest Awards:

    Default

    You use your mouse

  4. #4
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Heres javascript for saving i think..

    PHP Code:
    function save(){
        var 
    x=0
        var 
    data='';
    for (
    x=0x<activefurni.lengthx++) 

        
    data data activefurni[x] + "," dd.elements[activefurni[x]]."," dd.elements[activefurni[x]]."," dd.elements[activefurni[x]]."¬" ;
    }

    loadurl('save-home',"datastrip=" data);

    (From Habbo Homes system)

  5. #5
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    LOL, everyone wants to do drag and drop now =]

    Good luck with it though.
    Coming and going...
    Highers are getting the better of me

  6. #6
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    The Tech Tuts one is crap :p
    It dosn't work in IE very well, it dosnt save + loads more

    http://habbcrazy.net/dnd/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •