Difference between revisions of "Template:2015Bottom"

(Added javascript to run click-to-expand boxes)
Line 104: Line 104:
 
</div>
 
</div>
  
 
+
<!-- Click binding for "click to expand" boxes (see Code Documentation for details) -->
 +
<script type="text/javascript">
 +
jQuery(".click_expand").css("cursor", "pointer").click(function(event) {
 +
jQuery(this).next("div").slideToggle();
 +
}).next("div").hide();
 +
</script>
  
  
 
</html>
 
</html>

Revision as of 17:39, 14 April 2015