Line 111: | Line 111: | ||
function toggleHeight2(e, maxHeight) { | function toggleHeight2(e, maxHeight) { | ||
− | e = document.getElementById(" | + | e = document.getElementById("t"); // e = the gray div |
if(e.style.height != '20px') { | if(e.style.height != '20px') { | ||
Line 166: | Line 166: | ||
<div class='panel'> | <div class='panel'> | ||
− | <div id=" | + | <div id="t" class="expandable" style='height: 20px;'> |
<a href="#!" onclick="toggleHeight2(this, 240); return false" | <a href="#!" onclick="toggleHeight2(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:35, 17 September 2017