{% extends "base_blog.html" %}
{% block subtitle %}Conservancy Blog Query - {% endblock %}
{% block head %}
<script type="text/javascript">
$(function () {
window.addEventListener('DOMContentLoaded', function() {
function my_display (sel, b) {
if (b) { sel.slideDown(); }
else { sel.slideUp(); }
}
function my_display_instantly (sel, b) {
if (b) { sel.show(); }
else { sel.hide(); }
$("#all_authors").click(function () {
my_display($("#authors"), !this.checked);
});
$("#all_tags").click(function () {
my_display($("#tags"), !this.checked);
my_display_instantly($("#authors"), !$("#all_authors").attr("checked"));
my_display_instantly($("#tags"), !$("#all_tags").attr("checked"));
</script>
<style type="text/css">
div.query_indent { padding-left: 2em; }
div.query_indent table tr td { padding-right: 3em; padding-bottom: .3em; }