|
|
@ -45,6 +45,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<input type="button" class="printbutton" value="Print selection"name="printselection" onclick="window.print();return false;"/>
|
|
|
|
<input type="button" class="printbutton" value="Print selection"name="printselection" onclick="window.print();return false;"/>
|
|
|
|
<input type="button" class="selectall" value="Select All"name="selectall" />
|
|
|
|
<input type="button" class="selectall" value="Select All"name="selectall" />
|
|
|
|
|
|
|
|
<input type="button" class="popup" value="Select All"name="popup" />
|
|
|
|
<div class="empty" id="empty"></div>
|
|
|
|
<div class="empty" id="empty"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3179,15 +3180,20 @@
|
|
|
|
<!--script src="masonry.js"--><!--</script>-->
|
|
|
|
<!--script src="masonry.js"--><!--</script>-->
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
// Select all button
|
|
|
|
// BUTTONS
|
|
|
|
var selectall = document.querySelector("input.selectall");
|
|
|
|
var selectall = document.querySelector("input.selectall"),
|
|
|
|
|
|
|
|
popup = document.querySelector("input.popup");
|
|
|
|
selectall.addEventListener("click", function (e) {
|
|
|
|
selectall.addEventListener("click", function (e) {
|
|
|
|
alert("SELECT ALL");
|
|
|
|
|
|
|
|
var checkboxes = document.querySelectorAll("input[type=checkbox][name=print]");
|
|
|
|
var checkboxes = document.querySelectorAll("input[type=checkbox][name=print]");
|
|
|
|
for (var i=0; i<checkboxes.length; i++) {
|
|
|
|
for (var i=0; i<checkboxes.length; i++) {
|
|
|
|
checkboxes[i].checked = true;
|
|
|
|
checkboxes[i].checked = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
function showpopup() {
|
|
|
|
|
|
|
|
alert("I AM YOUR POPUP!");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
popup.addEventListener("click", showpopup);
|
|
|
|
|
|
|
|
showpopup();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filterSelection("all")
|
|
|
|
filterSelection("all")
|
|
|
|