Results 1 to 2 of 2

Thread: Dom & Drag Help

  1. #1
    Join Date
    Nov 2007
    Posts
    51
    Tokens
    0

    Default Dom & Drag Help

    <html>
    <head>
    <script type="text/javascript" src="dom-drag.js"></script>
    <style type="text/css">
    #root {
    position:absolute;
    height:300px;
    width:308px;
    background-color:#F4F4F4;
    border:1px solid #333;
    }
    #handle {
    margin:2px;
    padding:2px;
    width: 98%;
    color:white;
    background-color: navy;
    font-weight: bold;
    }
    .style1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-small;
    }
    body {
    background-image: url(../backlarge.png);
    }
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
    <body>
    <div id="root" style="left:229px; top:43px;">
    <div id="handle">
    <div align="center" class="style1">
    <p>Habbo Resources</p>
    </div>
    </div>
    <p align="center" class="style1"> Welcome to Habbo Resources, which is currently owned by <strong>Skx</strong> of Habbo UK. We are currently on maintenance and we will be opening sometime in <strong>March</strong>. Our aim is to provide people with free website resources from Habbo Stickers to free coded layouts. </p>
    <p align="center" class="style1">Check out our new Dom Drag system, by hovering over this box and drag it to wherever you want. This will play a key feature in the upcoming website.</p>
    <p align="center" class="style1">Thanks and remember to come back soon! </p>
    <p align="center" class="style1"><strong>Habbo Resources Management</strong></p>
    </div>
    <script language="javascript">
    var theHandle = document.getElementById("handle");
    var theRoot = document.getElementById("root");
    Drag.init(theHandle, theRoot);
    </script>
    </body>
    </html>
    <!-- Source for dom-drag.js -->

    This is the code, but it doesnt move, when I view it in IE. thanks.

    Edit by Robbie! (Forum Moderator) - Moved to Coding Help, please post in the correct section next time, thanks!
    Last edited by Robbie; 22-02-2009 at 06:43 PM.
    <div id="footer">
    <p align="right" class="style3">Copyright to Oranges on Habboforum.com</p>

    Selling Habbo layouts for Habbo Furni only, designed and coded by Oranges.

  2. #2
    Join Date
    Jun 2008
    Location
    Australia
    Posts
    252
    Tokens
    105

    Default

    This is a bit off topic, but I noticed that in your coding it says your website is called habbo resources. Theres already a habbo fansite with that name. I figured you should know. But about the coding, sorry I'm not really sure. But maybe you should post the code for dom-drag.js aswell

    TURN AROUND BRIGHT EYES

Posting Permissions

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