Hi, How is it possible to use same element in 2 different places in same window
What I want is a label be a mirror of another label,... here is sample code but it doesn't work <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="yourwindow" xmlns=" http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload = " var l = document.createElement('label'); l.setAttribute('value','mirror text'); document.getElementById('bigbox').appendChild(l); document.getElementById('bbigbox').appendChild(l); "> <box id="bigbox"> <label value="1"/> </box> <box id="bbigbox"> <label value="2"/> </box> </window>
_______________________________________________ Project_owners mailing list [email protected] https://www.mozdev.org/mailman/listinfo/project_owners
