Results 1 to 3 of 3

Thread: javascript positioning

  1. #1
    Join Date
    Feb 2008
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javascript positioning

    dfgfgfgfgfg
    Last edited by MonteChristo; 03-17-2008 at 01:13 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    Northeast USA
    Posts
    408
    Thanks
    8
    Thanked 30 Times in 28 Posts

    Default

    Do you want the content to "slide" in, or just have it be repositioned?

    Code:
    <html>
    <head>
    <style>
    div#container {
    position:absolute;
    left:-9999px;
    top:-9999px;
    width: 200px;
    }
    </style>
    <script>
    function init()
    {
    document.getElementById("container").style.left="200px"
    document.getElementById("container").style.top="200px"
    }
    </script>
    <body onLoad="init();">
    <div id="container">
    <p>various text goes here</p>
    </div>
    </body>
    </html>
    -Ben -- THE DYNAMIC DRIVERS
    My Links: My DD Profile||My Youtube Video Tutorials||DD Helping Coders||DD Coders In Training
    I told my client to press F5, the client pressed F, then 5, *facepalm*

  3. #3
    Join Date
    Feb 2008
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    fdfdfdfd
    Last edited by MonteChristo; 03-17-2008 at 01:13 PM.

Bookmarks

Posting Permissions

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