How do I configure the sIFR javascript so that only the div that is visible is "drawn" by sIFR?
Here's the current show/hide script:
function showSec(n) {
hideSec();
if (ng5) document.getElementById('sec1').style.visibility = "visible";
else if (ns4) document.layers["sec1"].visibility = "show";
else if (ie4) document.all["sec1"].style.visibility = "visible";
if (ng5) document.getElementById('sec'+n).style.visibility = "visible";
else if (ns4) document.layers["sec"+n].visibility = "show";
else if (ie4) document.all["sec"+n].style.visibility = "visible";
}
hideSec();
if (ng5) document.getElementById('sec1').style.visibility = "visible";
else if (ns4) document.layers["sec1"].visibility = "show";
else if (ie4) document.all["sec1"].style.visibility = "visible";
if (ng5) document.getElementById('sec'+n).style.visibility = "visible";
else if (ns4) document.layers["sec"+n].visibility = "show";
else if (ie4) document.all["sec"+n].style.visibility = "visible";
}