http://www.perlmonks.org?node_id=474590


in reply to Request: Collapsible Side Bar

Here's a method for doing this in CSS. It will not work on IE, as that browser does not properly implement the :hover pseudoclass. You can fix that with JavaScript, but then why bother with this solution?

td.nodelets { background-color: #eee; width: 1%;} td.nodelets .nodelet_container {display: none;} td.nodelets:hover { width: 100%;} td.nodelets:hover .nodelet_container {display: block;}

The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon