[wpkg-users] wpkgCreateReport
Pendl Stefan
stefan.pendl at haidlmair.at
Fri Sep 4 19:30:51 CEST 2009
This seems to be the last update to the script.
There was a problem with not all matching rows being hidden/collapsed.
<script type="text/javascript" language="JavaScript">
<!--
function HideState(StateClass) {
var TRarray = document.getElementsByTagName('tr');
for ( var i = 0; i < TRarray.length; i++ ) {
if ( TRarray[i].className.match(StateClass) ) {
if ( TRarray[i].style.visibility.match(/collapse|hidden/) ) {
TRarray[i].style.visibility = "visible";
} else {
if ( navigator.appName.match(/Microsoft Internet Explorer/) ) {
TRarray[i].style.visibility = "hidden";
} else {
TRarray[i].style.visibility = "collapse";
}
}
}
}
}
// -->
</script>
---
Stefan
More information about the wpkg-users
mailing list