Difference between revisions of "Template:Wageningen UR/CpxKineticsCSS"
Revision as of 13:03, 30 October 2017
(
view source
)
Mnijland
(
Talk
|
contribs
)
← Older edit
Revision as of 13:06, 30 October 2017
(
view source
)
Mnijland
(
Talk
|
contribs
)
Newer edit →
Line 64:
Line 64:
var x = document.getElementById(tabName);
var x = document.getElementById(tabName);
−
if
(x.
style.display === 'none'
)
{
+
$
(
"#" +
x
)
.
toggle(
);
−
x.style.display = 'block';
+
−
} else {
+
−
x.style.display = 'none'
;
+
−
}
+
Revision as of 13:06, 30 October 2017