Files
pytest2/py/apigen/api.js
guido b67ef229df [svn r37383] Added call stacks, made that method pages aren't built at all anymore, made
that build_namespace_view isn't called for anything but namespaces anymore,
made that parts of documents are hidden at first (with a link to 'open' them).

--HG--
branch : trunk
2007-01-26 14:01:27 +01:00

23 lines
518 B
JavaScript

function showhideel(el) {
/* show or hide the element
sets the value of el.style.display to 'none' or 'block' depending
on the current value
*/
if (el.style.display == 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
};
};
function getnextsibling(el) {
/* return next non-text sibling (or null) */
var node = el.nextSibling;
while (node && node.nodeType != 1) {
node = node.nextSibling;
};
return node;
};