Act reasonably in the presence of noscript.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 26 Aug 2014 13:05:12 +0000 (15:05 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Tue, 26 Aug 2014 13:05:12 +0000 (15:05 +0200)
abilities.html
allevents.html
heroik.css
heroik.html
scenario.html

index 3a80734b7133905baa77bc4b1ffcca68ce820992..759f6c3eebc871c8332d7c0cd6720dfc3e8147f7 100644 (file)
@@ -33,7 +33,7 @@
     <a class="button no-print" href="heroik.html">
       ◀ Return
     </a>
-    <h1>Dungeon Card Special Abilities</h1>
+    <h1>Special Abilities</h1>
     <table id=abilities>
       <tbody>
         <tr>
index 5fe2664824be00d7145e7d3826e831600bb8fd93..654c424d3223cfc80ff353227277dd09c8218787 100644 (file)
@@ -27,7 +27,7 @@
     <script src="heroik.js" type="text/javascript"></script>
     <script src="names.js" type="text/javascript"></script>
     <script src="scenarios.js" type="text/javascript"></script>
-    <title>Scenario Events - Hero: Immortal King</title>
+    <title>Fate Chart Events - Hero: Immortal King</title>
   </head>
   <body onload="
         canonicalToHTML(document.getElementById('canonical'));
@@ -41,6 +41,9 @@
         ◄ Finished!
       </a>
     </div>
+    <noscript>
+      Viewing the list of Fate Chart events requires JavaScript.
+    </noscript>
     <h1>Fate Chart Events</h1>
     <h2>Canonical</h2>
     <table id=canonical class=tall>
index d3e90094875285460d45ac730652b78eb4f77f8e..d1a9936406c83d6a0aa508db700c4b8bc5798a2a 100644 (file)
@@ -251,9 +251,10 @@ input[type=checkbox] {
     box-shadow: 0.0625em 0.0625em 0.0625em 0.0625em #888;
 }
 
-main > div {
+main > div, main > noscript {
     text-align: center;
     margin-bottom: 1rem;
+    display: block;
 }
 
 ul.cards li {
index 182f0fd42e1c8da5935366fcb20f3c6ead5b800c..725105a47a8c73fe576038a62d320b2a32d9a21b 100644 (file)
@@ -58,6 +58,9 @@
     <div>
       <a class=button onclick="ventureForth()">Venture Forth</a>
     </div>
+    <noscript>
+      Venturing forth requires JavaScript.
+    </noscript>
 
     <h1>Information</h1>
 
index 9d70e63cb68a5c35ac59341f528b63e11854a41e..73cd6f95d093a20e3c3082008dba60646ad77c0f 100644 (file)
@@ -27,7 +27,7 @@
     <script src="heroik.js" type="text/javascript"></script>
     <script src="names.js" type="text/javascript"></script>
     <script src="scenarios.js" type="text/javascript"></script>
-    <title>- Hero: Immortal King</title>
+    <title>Scenario - Hero: Immortal King</title>
   </head>
   <body onload="generateScenario()">
     <div id=statusbar></div>
       <tfoot>
         <tr>
           <td></td>
-          <td>You stand outside the entrance.</td></tr>
+          <td>
+            You stand outside the entrance.
+            <noscript>Without JavaScript a strange barrier prevents
+              you from continuing.</noscript>
+          </td></tr>
       </tfoot>
     </table>
     </main>