Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


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

    Latest Awards:

    Default Drag & Drop Help

    Im playing with drag and drop elements before i start to code this room thing,

    But i cant get it to drag at all.

    my code:
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Drag&amp;Drop</title>
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js"></script>
    <script type="text/javascript">
    Droppables.add('area',{ondrop: function()
            { document.getElementById("text").innertHTML= "Dropped";}
          });
    new Draggable('drag',{ghosting:true});
    </script>
    </head>
    <body>
    <div id="area" style="width:100%; height:500px;">
    <div id="drag" style="background-color:#009999; width:100px;">Drag Moi!</div>
    </div><br />
    <span id="text" style="background-color:#FFFF99;">Item Not Dropped.</span>
    </body>
    </html>
    Any help would be appreciated
    Coming and going...
    Highers are getting the better of me

  2. #2
    Join Date
    Apr 2006
    Location
    Salford
    Posts
    2,108
    Tokens
    0

    Latest Awards:


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

    Latest Awards:

    Default

    Dnt wna use dd srry, scriptaculous has better drag features if i can get it working...
    Coming and going...
    Highers are getting the better of me

  4. #4
    Join Date
    May 2007
    Location
    Brisbane, Australia
    Posts
    796
    Tokens
    0

    Default

    Bump" This will go very good in panel same witha Voucher Panel.. like create voucher and then usr types it in u know what i mean..
    Thanks,
    Chris
    Free Image Uploading

    __________________


    [/url]

    [/FONT]

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

    Latest Awards:

    Default

    Yeah, vouchers will be soon.

    Just doing one thing at a time,

    and i really want to update the profile/furni systems.
    Coming and going...
    Highers are getting the better of me

Posting Permissions

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