|
|
Line 28: |
Line 28: |
| | | |
| <script type="text/javascript"> | | <script type="text/javascript"> |
− | function collapse() {
| + | function expandBMG() { |
− | /*document.getElementById("BMG").style.color = "goldenrod";
| + | |
− | document.getElementById("BMGText").style.display = "none";
| + | |
− | | + | |
− | if (document.getElementsByClassName("expanded").length > 0) {
| + | |
− | document.getElementsByClassName("expanded")[0].className = "collapsing";
| + | |
− | };*/
| + | |
− | }
| + | |
− | /*function expandBMG() {
| + | |
− | if (document.getElementById("BMG").className === "collapsing") {
| + | |
− | document.getElementById("BMG").className = "collapsed";
| + | |
− | } else{
| + | |
− | document.getElementById("BMGText").style.display = "inline-block";
| + | |
− | document.getElementById("BMG1").style.color = "goldenrod";
| + | |
− | document.getElementById("BMG1").className = "expanded";
| + | |
− | if (document.getElementsByClassName("collapsing").length > 0) {
| + | |
− | document.getElementsByClassName("collapsing")[0].className = "collapsed";
| + | |
− | };
| + | |
− | };
| + | |
− | }*/
| + | |
− | | + | |
− | //The functions below collapse and expand only when the specific item is clicked
| + | |
− | | + | |
− | function expandBMG() {
| + | |
| if (document.getElementById("BMG").className === "expanded") { | | if (document.getElementById("BMG").className === "expanded") { |
| document.getElementById("BMG").style.color = "goldenrod"; | | document.getElementById("BMG").style.color = "goldenrod"; |