diff --git a/css/index.css b/css/index.css
index 72d61ff..a97ff66 100644
--- a/css/index.css
+++ b/css/index.css
@@ -27,6 +27,12 @@ b, strong{
font-weight: normal;
text-shadow:1px 0 0 currentColor;
}
+a{
+ color: #ff4040;
+}
+a:hover{
+ color: #ff6060;
+}
/* SIMULATION and SLIDESHOW */
#container{
@@ -273,12 +279,6 @@ b, strong{
margin:1.5em;
letter-spacing: 1px;
}
-#modal a{
- color: #ff4040;
-}
-#modal a:hover{
- color: #ff6060;
-}
/* NAVIGATION */
#navigation_container{
@@ -335,12 +335,6 @@ b, strong{
line-height: 16px;
letter-spacing: 0.5px;
}
-#translations a{
- color: #ff4040;
-}
-#translations a:hover{
- color: #ff6060;
-}
#navigation{
display: none;
diff --git a/index.html b/index.html
index 2bd5238..1d47026 100644
--- a/index.html
+++ b/index.html
@@ -871,7 +871,9 @@ MY "WHY" FOR MAKING THIS:
CREDITS
- CREDITS
+ SUPPORTERS
+
+ PLAYTESTERS
@@ -1573,6 +1575,54 @@ MY "WHY" FOR MAKING THIS:
+
+
+ To
+
my supporters on Patreon:
+ I'm deeply grateful.
+ Your generosity
literally feeds me and pays my rent,
+ and grants me the creative freedom to make these weird math/social-science games.
+ From the bottom of my heart, thank you!
+
+
+
+
+
+
+
+ Thank you, everyone who playtested Crowds
+ during its many stages of life!
+
+
+ The Prototype:
+
+ Maria P ·
+ Monica Srivastava
+
+
+ The Alpha:
+
+ Glen Chiacchieri ·
+ Kalli Repzeti ·
+ Mali ·
+ Toph Tucker
+
+
+ The Beta:
+
+ Alex Dytrych ·
+ Amit Patel ·
+ Cassandra McClure ·
+ Catherine Ray ·
+ Josh Comeau ·
+ Kayle Sawyer ·
+ Matthew Conlen ·
+ Srini Kadamati ·
+ Vanessa Shen ·
+ Wick Perry
+
+
+
diff --git a/js/lib/helpers.js b/js/lib/helpers.js
index db31ca9..d726eb5 100644
--- a/js/lib/helpers.js
+++ b/js/lib/helpers.js
@@ -9,7 +9,7 @@ function $(query){
return document.querySelector(query);
}
function $all(query){
- return document.querySelectorAll(query);
+ return [].slice.call(document.querySelectorAll(query));
}
// Wide Sigmoid
diff --git a/js/slideshow/Boxes.js b/js/slideshow/Boxes.js
index 2f523aa..45fb30f 100644
--- a/js/slideshow/Boxes.js
+++ b/js/slideshow/Boxes.js
@@ -100,7 +100,6 @@ function Boxes(){
ref.onclick = function(){
var id = ref.id;
publish("reference/show",[id]);
- publish("sound/button");
};
_stopPropButton(ref);
});
@@ -111,7 +110,6 @@ function Boxes(){
bon.innerHTML = "(?) "+title;
bon.onclick = function(){
publish("bonus/show", [bon.id]);
- publish("sound/button");
};
_stopPropButton(bon);
});
diff --git a/js/slideshow/Modal.js b/js/slideshow/Modal.js
index 9daf742..22c8f55 100644
--- a/js/slideshow/Modal.js
+++ b/js/slideshow/Modal.js
@@ -1,6 +1,9 @@
// SHOW BONUS BOXES
subscribe("bonus/show", function(bonus_id){
+
+ publish("sound/button");
+
var words = document.querySelector("bonus#"+bonus_id).innerHTML.trim();
$("#modal_content").innerHTML = words;
Modal.show(true); // show large for bonus
@@ -8,10 +11,19 @@ subscribe("bonus/show", function(bonus_id){
// SHOW REFERENCES
subscribe("reference/show", function(ref_id){
+
+ publish("sound/button");
+
var footnote = document.querySelector("reference#"+ref_id+" > div").innerHTML.trim();
$("#modal_content").innerHTML = footnote;
var noteLength = $("#modal_content").innerText.length; // innerTEXT, so no links
- Modal.show(noteLength>500); // variable length
+
+ if($("reference#"+ref_id).getAttribute("large")){
+ Modal.show(true); // force large
+ }else{
+ Modal.show(noteLength>500); // variable length
+ }
+
});
// ESCAPE (keyboard shortcut)
@@ -35,7 +47,9 @@ window.Modal = {
// ALL the things, in one go!
var html = "";
- $all(thing).forEach(function(thing){
+ $all(thing).filter(function(thing){
+ return !thing.getAttribute("hidden"); // NOT hidden
+ }).forEach(function(thing){
html += "
"+thing.innerHTML+"
";
});
$("#modal_content").innerHTML = html;
diff --git a/supporters/index.html b/supporters/index.html
index 7f89ed5..0559037 100644
--- a/supporters/index.html
+++ b/supporters/index.html
@@ -3,8 +3,9 @@
My Patreon Supporters! <3