da599c3a78
* Fix broken API doc links Create symlink for latest to point to v0.7. Group APIs by top version number rather than individual * Update swift and android version numbers to match Mentats * Update documentation * Update top level .gitignore to ignore docs site & metatdata * Add README to help with building documentation site * Address review comments @ncalexan
30 lines
827 B
JavaScript
30 lines
827 B
JavaScript
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>";
|
|
}
|
|
}
|
|
}
|