one of the answer in this question is using pure css approach:
HTML:
<div id="summary">Sample</div>
<div id="detail">Detail of this summary</div>
CSS:
> #summary:hover + #detail, #detail:hover { display: block; }
> #detail { display: none; }
my question is how can we include the click event where it is act like a on-off button?