help needed, create new element with certain position
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Peter_Parker
Posted On:   Friday, January 9, 2004 08:50 PM

hi all,
i want to create a new element with a certain position in html
in this case i'm using DOM method

for example i create a new element:
var node = document.createElement("embed");
node.setAttribute("style","position:absolute;left:100;top:100");
so that the embed element will have this position when it is created
is it possible to do this in IE?

can anyone help me with the code?
please reply
thx a lot

Re: help needed, create new element with certain position

Posted By:   Firat_Tiryaki  
Posted On:   Monday, January 12, 2004 06:38 AM

Use divs with DHTML, prepare pre divs and use their innerHTML to embed new sources into your document.
About | Sitemap | Contact