Tech Off Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Inserting an object inside a DIV.

Back to Forum: Tech Off
  • User profile image
    Deactivated User

    Comment removed at user's request.

  • User profile image
    W3bbo

    yman wrote:
    You cant use appendchild becuase that will insert any createdElement after the div


    Uh... news to me.

    Note the "child" bit, that implies the added element/node is under, not adjacent, to the parent node.

  • User profile image
    Deactivated User

    Comment removed at user's request.

  • User profile image
    W3bbo

    yman wrote:
    W3bbo wrote:
    yman wrote: You cant use appendchild becuase that will insert any createdElement after the div


    Uh... news to me.

    Note the "child" bit, that implies the added element/node is under, not adjacent, to the parent node.


    hehe, you are probably right.
    I was testing it with just blank DIVs, couldnt tell if it was inside or not.
    Sorry for my ignorance:)


    Give the container box a border and you'll see.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.