CollapsibleSectionExample 可折疊零件演示

Style Example

function toggle(sDivId) {
var oDiv = document.getElementById(sDivId);
oDiv.style.display = (oDiv.style.display == “none”) ? “block” : “none”;
}

onclick=”toggle(‘divContent1’)” align=”right”>Click Here

id=”divContent1” align=”right”>This is some content
to show and hide.

onclick=”toggle(‘divContent2’)” align=”right”>Click Here

id=”divContent2” align=”right”>This is some content
to show and hide.

Copyright © Bruce Huang All rights reserved.