blob: 60cf8ad17a552c2da8c2bd5c2ceb9ec95da9df6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
// (c) 2014 Trinity Desktop Project
// All Rights Reserved
// Authors: Timothy Pearson and Calvin Morrison
?>
<script type="text/javascript">
function toggle(showHideDiv, switchTextDiv) {
var ele = document.getElementById(showHideDiv);
var text = document.getElementById(switchTextDiv);
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "show all text of this entry";
}
else {
ele.style.display = "block";
text.innerHTML = "shrink entry";
}
}
</script>
|