<style type="text/css">.hide { display:none; }.hideable { background: #222222; padding:5px; }.hBox { padding:5px; }.hShow { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/minus.png) no-repeat; height:14px; position:relative; left:-2em; top:-1em; }.hHide { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/plus.png) no-repeat; height:14px; position:relative; left:-2em; top:-1em; }</style><script type="text/javascript">$(document).ready(function() { var hideshowSpeed = 500; $(".hideable").each(function(){ $(this).wrap("<div class='hWrap'></div>").before("<div class='hShow'></div>"); }) $(".hWrap").click(function(){ $(this).find(".hShow").toggleClass("hHide"); $(this).find(".hideable").slideToggle(hideshowSpeed); }); $(".hide").prev(".hShow").toggleClass("hHide"); $(".hLink").each(function(){ $(this).attr("href","javascript:void(0);").click( function() { $(this).next(".hBox").toggle(hideshowSpeed); }) })});</script>
<a class="hideLink" href="#">LINK TITLE</a><div class="hideBox hide">STUFF TO SHOW/HIDE</div>
<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>