Expand script
Posted: Fri Mar 11, 2005 1:15 pm
<script language='JavaScript'>
function expand_content(span)
{
displayType=(****.getElementById(span).style.display=='none') ? 'block':'none';
****.getElementById(span).style.display=displayType;
}
</script>
0001 -expand-
<span id="0001" style="display: none">expanded, wow!
</span>
This is what I use, but is there anything... smaller/faster w/e?
function expand_content(span)
{
displayType=(****.getElementById(span).style.display=='none') ? 'block':'none';
****.getElementById(span).style.display=displayType;
}
</script>
0001 -expand-
<span id="0001" style="display: none">expanded, wow!
</span>
This is what I use, but is there anything... smaller/faster w/e?