1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-05-17 08:28:42 +03:00
inform7/inform7/Internal/HTML/extensions.js
2019-03-16 13:12:11 +00:00

18 lines
686 B
JavaScript

function showExtra(id, imid) {
if (document.getElementById(id).style.display == 'block') {
document.getElementById(id).style.display = 'none';
document.getElementById(imid).src = 'inform:/doc_images/extrarboff.png';
} else {
document.getElementById(id).style.display = 'block';
document.getElementById(imid).src = 'inform:/doc_images/extrarbon.png';
}
}
function openExtra(id, imid) {
document.getElementById(id).style.display = 'block';
document.getElementById(imid).src = 'inform:/doc_images/extrarbon.png';
}
function closeExtra(id, imid) {
document.getElementById(id).style.display = 'none';
document.getElementById(imid).src = 'inform:/doc_images/extrarboff.png';
}