How to show or hide your left and right side content boxes
Adding the script
The Code
<style type="text/css"> // Entire spacer .LeftContentSpacer, .RightContentSpacer { vertical-align: top; cursor: pointer; } // Hide/Show link style .LeftContentSpacer a, .RightContentSpacer a { color: #bbbbbb; font-weight: bold; font-size: 12px; } // style shown when you hover over the spacer .LeftContentSpacer.hover, .RightContentSpacer.hover { background: #333; opacity: 0.7; filter: alpha(opacity=70); } </style> <script type="text/javascript" src="http://www.axiomfiles.com/Files/258012/hideshow-zone-min.js"></script> <script type="text/javascript"> $(document).ready(function() { hideSides(); }) </script>
Customizing the script
hideSides({ hideIndicator : "‹", showIndicator : "›", switchIndicators : false, tooltip : "Click to hide/show side bar", tooltipWidth : 180, clickableSpacer : true });
<style type="text/css"> .tooltip, .preview, .screenshot { cursor:pointer; } #tooltip, #tooltip2, #preview, #screenshot { color:#dddddd; background:#222222; border: 1px solid #333333; padding:5px; display:none; opacity: 0.9; filter: alpha(opacity=90); text-align:left; border-radius: 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em; } </style> <script src="http://www.axiomfiles.com/Files/258012/tooltip.js" type="text/javascript"></script>