diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/index.html b/index.html index ffc3220..b6cbbbf 100644 --- a/index.html +++ b/index.html | |||
@@ -12,6 +12,17 @@ | |||
12 | <link rel="stylesheet" type="text/css" href="./css/cover.css"> | 12 | <link rel="stylesheet" type="text/css" href="./css/cover.css"> |
13 | <script src="./js/lozenge.js" type="text/javascript"> </script> | 13 | <script src="./js/lozenge.js" type="text/javascript"> </script> |
14 | 14 | ||
15 | <script> | ||
16 | function _about() { | ||
17 | var about = document.getElementById('about'); | ||
18 | var files = ["about-the-author.html", "about_author.html"] | ||
19 | var which = Math.floor(Math.random() * files.length); | ||
20 | about.setAttribute("href", files[which]); | ||
21 | about.setAttribute("title", "About the author"); | ||
22 | } | ||
23 | window.onload = function () { _about() } | ||
24 | </script> | ||
25 | |||
15 | <!--[if lt IE 9]> | 26 | <!--[if lt IE 9]> |
16 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> | 27 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> |
17 | <![endif]--> | 28 | <![endif]--> |
@@ -20,7 +31,9 @@ | |||
20 | <article id="cover"> | 31 | <article id="cover"> |
21 | <header> | 32 | <header> |
22 | <h1 class="title">Autocento of the breakfast table</h1> | 33 | <h1 class="title">Autocento of the breakfast table</h1> |
23 | <h2 class="byline">by Case Duckworth</h2> | 34 | <h2 class="byline">by |
35 | <a href="#" id="about">Case Duckworth</a> | ||
36 | </h2> | ||
24 | <h3 class="lozenge"><a href="#" id="lozenge">◊</a></h3> | 37 | <h3 class="lozenge"><a href="#" id="lozenge">◊</a></h3> |
25 | </header> | 38 | </header> |
26 | <section class="content"> | 39 | <section class="content"> |
@@ -29,7 +42,7 @@ | |||
29 | <a href="first-lines.html">first lines</a> and | 42 | <a href="first-lines.html">first lines</a> and |
30 | <a href="common-titles.html">common titles</a>. | 43 | <a href="common-titles.html">common titles</a>. |
31 | </li> | 44 | </li> |
32 | <li><a href="README.html">An explanation</a>.</li> | 45 | <li><a href="README.html">About this project</a>.</li> |
33 | </ul> | 46 | </ul> |
34 | </section> | 47 | </section> |
35 | </article> | 48 | </article> |