Menu
hi, just wondering if someone can help me make a more cross-browser version of this script. (i dont need NN4 support)
if( myWidth > 900 ) {
header.style.background = ‘url([url]http://www.mysite.com/bg.gif
} else {
header.style.background = ‘black’;
}
im guessing its something like this, but i dont really know what to put in document.layers, and what to put in document.all…?
if (document.layers) {
}else {
if (document.all) {
}
}
thanks for any help! Al