ciao raga, mi sapete dire come mai in FireFox mi funziona tutto OK mentre in IE non va nulla? nè tantomento danno errori...
codice:
function createDiv100() {
var divAlready=document.getElementById("div100Perc");
if(divAlready){document.body.removeChild(divAlready);}
var tagDIV=document.createElement("div");
styleProperty="background-color: #000000; width: 100%; position: absolute; top: 0px; left: 0px; height: "+document.body.clientHeight+"px;"
tagDIV.setAttribute("style", styleProperty);
tagDIV.setAttribute("id", "div100Perc");
document.body.appendChild(tagDIV);
}
ty & plz