function toggleVis(elementId,t) {
if(document.getElementById(elementId)){
-if( document.getElementById(elementId).style.visibility == "visible") {
- document.getElementById(elementId).style.visibility = "collapse";
+if( document.getElementById(elementId).style.class == "visiblebitfield") {
+ //document.getElementById(elementId).style.visibility = "collapse";
document.getElementById(elementId).style.class = "bitfield";
visHash[elementId]=false;
t.innerHTML = " + ";
} else {
- document.getElementById(elementId).style.visibility = "visible" ;
+ //document.getElementById(elementId).style.visibility = "visible" ;
document.getElementById(elementId).style.class = "visiblebitfield";
visHash[elementId]=true;
t.innerHTML = " − ";
}
function showElement(elementId) {
if(document.getElementById(elementId)){
- document.getElementById(elementId).style.visibility = "visible" ;
+ //document.getElementById(elementId).style.visibility = "visible" ;
document.getElementById(elementId).class = "visiblebitfield";
visHash[elementId]=true;
}
}
function hideElement(elementId) {
if(document.getElementById(elementId)){
- document.getElementById(elementId).style.visibility = "hidden" ;
+ //document.getElementById(elementId).style.visibility = "hidden" ;
document.getElementById(elementId).class = "bitfield";
visHash[elementId]=false;
}
}
function collapseElement(elementId) {
if(document.getElementById(elementId)){
- document.getElementById(elementId).style.visibility = "collapse" ;
+ //document.getElementById(elementId).style.visibility = "collapse" ;
document.getElementById(elementId).class = "bitfield";
visHash[elementId]=false;
}