bgcolor on embed element
Trying to set this attribute in script only seems to work in IE. Use CSS instead!
by w3dx
HTML
<embed id="foo" wmode="transparent" src="http://www.w3schools.com/media/bookmark.swf" width="400" height="40" type="application/x-shockwave-flash"></embed>
JavaScript
document.getElementById("foo").style.backgroundColor = '#0f0';