|
|
@ -20,18 +20,18 @@ |
|
|
|
</li> |
|
|
|
{% endfor %} |
|
|
|
<ul> |
|
|
|
{% block txtlist %} |
|
|
|
</div> |
|
|
|
<div id="nav"> |
|
|
|
{% block nav %} |
|
|
|
<div class="page-button"> |
|
|
|
<a href="/cross-readings">cross-readings</a> |
|
|
|
</div> |
|
|
|
<div class="page-button"> |
|
|
|
<a href="/colophon">colophon</a> |
|
|
|
</div> |
|
|
|
{% endblock %} |
|
|
|
</div> |
|
|
|
<div id="wrapper"> |
|
|
|
<div id="nav"> |
|
|
|
<div class="page-button"> |
|
|
|
<a href="/cross-readings">cross-readings</a> |
|
|
|
</div> |
|
|
|
<div class="page-button"> |
|
|
|
<a href="/colophon">colophon</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div id="logo"> |
|
|
|
<a href="/">cyber/technofeminist <br>cross-readings</a> |
|
|
|
</div> |
|
|
@ -44,6 +44,7 @@ |
|
|
|
<script> |
|
|
|
(function () { |
|
|
|
var searching = false, |
|
|
|
body = document.querySelector('body'), |
|
|
|
button = document.querySelector('#search #submit'), |
|
|
|
submitting = document.querySelector('#submitform').getAttribute('isSubmitting'); |
|
|
|
|
|
|
@ -51,6 +52,7 @@ |
|
|
|
if (!searching) { |
|
|
|
searching = true; |
|
|
|
button.classList.add('searching'); |
|
|
|
body.classList.add('searching'); |
|
|
|
} |
|
|
|
else { |
|
|
|
e.preventDefault(); |
|
|
@ -61,7 +63,7 @@ |
|
|
|
</script> |
|
|
|
</div> |
|
|
|
{% endblock %} |
|
|
|
{% block nav %} |
|
|
|
{% block printbutton %} |
|
|
|
{% endblock %} |
|
|
|
<div id="content"> |
|
|
|
{% block content %} |
|
|
@ -96,5 +98,24 @@ |
|
|
|
for (var i = 0; i < links.length; i++) { |
|
|
|
links[i].target = "_self"; |
|
|
|
} |
|
|
|
|
|
|
|
(function () { |
|
|
|
var searching = false, |
|
|
|
body = document.querySelector('body'), |
|
|
|
buttons = document.querySelectorAll('strong.word, strong.query') |
|
|
|
|
|
|
|
for (var i = 0; i < buttons.length; i++) { |
|
|
|
buttons[i].addEventListener('click', function (e) { |
|
|
|
if (!searching) { |
|
|
|
searching = true; |
|
|
|
body.classList.add('searching'); |
|
|
|
} |
|
|
|
else { |
|
|
|
e.preventDefault(); |
|
|
|
alert('Already searching ...'); |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
})(); |
|
|
|
</script> |
|
|
|
</html> |