slideshow.htmlon commit initialise listeners in JS, set heights at runtime, add readme (a0b380c)
   1<html>
   2
   3  <head>
   4    <link href="slideshow.css" rel="stylesheet" type="text/css" media="all" />
   5  </head>
   6
   7  <body>
   8
   9    <div class="slideshow">
  10      <div class="slides">
  11
  12        <figure class="slide">
  13          <img src="test-img/1.jpg">
  14          <figcaption>This is a caption</figcaption>
  15        </figure>
  16
  17        <figure class="slide">
  18          <img src="test-img/2.jpg">
  19          <figcaption><span>This is a long caption which will probably span over multiple lines (depending on the width of the slideshow). You will see that that the height of the image adjusts to accommodate the taller caption.</figcaption>
  20        </figure>
  21
  22        <figure class="slide">
  23          <img src="test-img/3.jpg">
  24          <figcaption>Caption 3</figcaption>
  25        </figure>
  26
  27      </div>
  28
  29      <a id="prev">&#10094;</a>
  30      <a id="next">&#10095;</a>
  31      <a id="state">&#x23f8;&#xFE0E;</a>
  32
  33      <div id="controls">
  34        <span class="dot"></span>
  35        <span class="dot"></span>
  36        <span class="dot"></span>
  37      </div>
  38
  39    </div>
  40
  41    <script src="slideshow.js" type="text/javascript"></script>
  42
  43  </body>
  44</html>