J
Just One
Hi,
I'm trying to dynamically assign a div background the value of the document
background with a code like this:
var menuDiv = '<div style="visibility:hidden; ';
menuDiv = menuDiv + 'background-color:';
menuDiv = menuDiv + document.bgColor;
menuDiv = menuDiv + '></div>';
In IE and FF, that's working great but not in Opera. I don't really think
Opera is very popular but still, I'm wondering if what I want is easily
achievable with this browser?
Thanks
I'm trying to dynamically assign a div background the value of the document
background with a code like this:
var menuDiv = '<div style="visibility:hidden; ';
menuDiv = menuDiv + 'background-color:';
menuDiv = menuDiv + document.bgColor;
menuDiv = menuDiv + '></div>';
In IE and FF, that's working great but not in Opera. I don't really think
Opera is very popular but still, I'm wondering if what I want is easily
achievable with this browser?
Thanks