Line 101: | Line 101: | ||
<script> | <script> | ||
function toggleHeight(e, maxHeight) { | function toggleHeight(e, maxHeight) { | ||
− | e = document.getElementById(" | + | e = document.getElementById("s1"); // e = the gray div |
if(e.style.height != '20px') { | if(e.style.height != '20px') { | ||
Line 137: | Line 137: | ||
<div class='panel'> | <div class='panel'> | ||
− | <div id=" | + | <div id="s1" class="expandable" style='height: 20px;'> |
<a href="#!" onclick="toggleHeight(this, 240); return false" | <a href="#!" onclick="toggleHeight(this, 240); return false" | ||
style="font-family: 'Acme', sans-serif;font-size:28px;color: #479fcc;height: 20px;"> | style="font-family: 'Acme', sans-serif;font-size:28px;color: #479fcc;height: 20px;"> |
Revision as of 03:28, 17 September 2017