I think this is easy
[quote]if ( ! attachOnLoadHandler(function () { rdiv();}))
window.onload = function () { rdiv();};
function rdiv() {
var a=document.getElementById("[b]ID_HERE[/b]");
a.parentNode.removeChild(a);
}[/quote]
to hide another box just simply insert the [b]BOLD[/b] into...
[quote]if ( ! attachOnLoadHandler(function () { rdiv();}))
window.onload = function () { rdiv();};
function rdiv() {
var a=document.getElementById("[b]ID_HERE[/b]");
a.parentNode.removeChild(a);
[b]
var b=document.getElementById("ID_HERE_2");
b.parentNode.removeChild(b);[/b]
}[/quote]
Last edited by feruzz (2007-08-04 12:42:23)