Sha256: 506393161b692568f588d68beaecf9ad5d33f147abad909d9cde12918dbce7b7

Contents?: true

Size: 827 Bytes

Versions: 2

Compression:

Stored size: 827 Bytes

Contents

function show(type)
{
    count = 0;
    for (var key in methods) {
        var row = document.getElementById(key);
        if ((methods[key] &  type) != 0) {
            row.style.display = '';
            row.className = (count++ % 2) ? rowColor : altColor;
        }
        else
            row.style.display = 'none';
    }
    updateTabs(type);
}

function updateTabs(type)
{
    for (var value in tabs) {
        var sNode = document.getElementById(tabs[value][0]);
        var spanNode = sNode.firstChild;
        if (value == type) {
            sNode.className = activeTableTab;
            spanNode.innerHTML = tabs[value][1];
        }
        else {
            sNode.className = tableTab;
            spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
        }
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
epeg-1.0.1 epeg/vendor/libjpeg-turbo-2.0.4/java/doc/script.js
epeg-1.0 epeg/vendor/libjpeg-turbo-2.0.4/java/doc/script.js