Menu
All right, I need to know how to duplicate a div.
<style type=”text/css”>
#red
{
z-index:1;
width:90px;
height:72px;
position:absolute;
top:251px;
left:26px;
}
</style>
function moveObject(whichcar)
{
var movecar=document.getElementById(whichcar);
movecar.style.top=’160px’;
movecar.style.left=’130px’;
document.getElementById(whichcar).id=’First’;
}
Now, I need to know how to DUPLICATE my div, not just move it… Does anyone have a suggestion? ?
(I really hope this makes sense!!!)
Thanks!
–Flashlite