im developing a windows gadget. there is a function called addTextObject on the background object which creates the object i want which i can later add glowing and shadows to it. but the problem is that i am not able to control the objects location. for example if i want to append it inside a div or span or td, the appendChild method is not working!
var txtGlow = document.getElementById('imgBackground').addTextObject("test", "Verdana", 25, "Red", 50, 50);
txtGlow.opacity = 100;
txtGlow.addGlow("yellow", 50, 50);
var theDiv = document.getElementById('divx');
txtGlow.value = theDiv.innerText;
theDiv.appendChild(txtGlow);