summaryrefslogtreecommitdiff
path: root/www/index.html
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-06-24 15:05:08 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-06-24 15:05:08 -0400
commit635dedf1e43fbb8ae7969ad1b9265002ea5190c3 (patch)
tree6e49bd33fa539a4b55db719d61863cd3449f3887 /www/index.html
parent8d2caf2bb9108b9f4ec66dc7d6608406a43a17d6 (diff)
downloadhtml5ks-635dedf1e43fbb8ae7969ad1b9265002ea5190c3.tar.xz
html5ks-635dedf1e43fbb8ae7969ad1b9265002ea5190c3.zip
woooo, more working
Diffstat (limited to 'www/index.html')
-rw-r--r--www/index.html41
1 files changed, 24 insertions, 17 deletions
diff --git a/www/index.html b/www/index.html
index 1ab21f7..824347d 100644
--- a/www/index.html
+++ b/www/index.html
@@ -13,37 +13,44 @@
</script>
<link rel="shortcut icon" type="image/png" href="/dump/ui/icon.png">
<link rel="apple-touch-icon" href="/dump/ui/icon.png">
- <link rel="stylesheet" type="text/css" href="index.css">
+ <link rel="stylesheet" type="text/css" href="/css/anim.css">
+ <link rel="stylesheet" type="text/css" href="/css/index.css">
<script src="/js/lib/when/when.js"></script>
<script src="/js/lib/jquery-2.0.2.min.js"></script>
<script src="/js/lib/modernizr.custom.71672.js"></script>
<script src="/js/html5ks.js"></script>
+ <script src="/js/api.js"></script>
<script src="/js/play.js"></script>
<script src="/js/images.js"></script>
<script src="/js/characters.js"></script>
- <script src="/js/script-a1-monday.js"></script>
</head>
<body>
- <div id="warn">
- <div id="notwork">We use a lot of new features in this; your browser seems to have some issues...</div>
- <ul>
- <li id="js">It doesn't seem to have JavaScript enabled. This site doesn't work at all without it. Really. <a href="http://enable-javascript.com">Don't know how to enable JS?</a></li>
- <li id="video">It doesn't seem to support <a href="https://en.wikipedia.org/wiki/HTML5_video">HTML5 video</a>, which means that you won't be able to see any of the videos (obviously). Unless stated below, though, transitions should still work. <a href="http://caniuse.com/#feat=video">You should strongly consider upgrading.</a></li>
- <li id="audio">It doesn't seem to support <a href="https://en.wikipedia.org/wiki/HTML5_audio">HTML5 audio</a>, which means you won't be able to hear any of the amazing music. <a href="http://caniuse.com/#feat=audio">You should strongly consider upgrading.</a></li>
- <li id="fontface">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face">the @font-face at-rule</a>, which lets us display the Playtime and Gentium fonts used in Katawa Shoujo. <a href="http://caniuse.com/#feat=fontface">Any browser released in the last 2 years or so should support it.</a></li>
- <li id="csstransforms">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transforms">CSS transforms</a>, which means that we won't be able to scale the window or show most transitions. <a href="http://caniuse.com/#feat=transforms2d">Any browser released in the last 2 years ago should work.</a></li>
- <li id="csstransitions">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions">CSS transitions</a>, which means that transitions won't work. Videos should still work though, unless stated above. <a href="http://caniuse.com/#feat=css-transitions">You should definitely try upgrading.</a></li>
- <li id="html-svg-filter">It might not support SVG filters on HTML content, which means that filters like the sunset in the tea room will display as regular images. <a href="http://caniuse.com/#feat=svg-html">Unfortunately, this is only implemented in Firefox now.</a></li>
- </ul>
- <div id="gotit" class="button">I know it's broken, let me play!</div>
+ <div id="warn-container">
+ <div id="gray"></div>
+ <div id="warn">
+ <div id="notwork">We use a lot of new features in this; your browser seems to have some issues...</div>
+ <ul id="warns">
+ <li id="js">It doesn't seem to have JavaScript enabled. This site doesn't work at all without it. Really. <a href="http://enable-javascript.com">Don't know how to enable JS?</a></li>
+ <li id="video">It doesn't seem to support <a href="https://en.wikipedia.org/wiki/HTML5_video">HTML5 video</a>, which means that you won't be able to see any of the videos (obviously). Unless stated below, though, transitions should still work. <a href="http://caniuse.com/#feat=video">You should strongly consider upgrading.</a></li>
+ <li id="audio">It doesn't seem to support <a href="https://en.wikipedia.org/wiki/HTML5_audio">HTML5 audio</a>, which means you won't be able to hear any of the amazing music. <a href="http://caniuse.com/#feat=audio">You should strongly consider upgrading.</a></li>
+ <li id="fontface">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face">the @font-face at-rule</a>, which lets us display the Playtime and Gentium fonts used in Katawa Shoujo. <a href="http://caniuse.com/#feat=fontface">Any browser released in the last 2 years or so should support it.</a></li>
+ <li id="csstransforms">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transforms">CSS transforms</a>, which means that we won't be able to scale the window or show most transitions. <a href="http://caniuse.com/#feat=transforms2d">Any browser released in the last 2 years ago should work.</a></li>
+ <li id="csstransitions">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions">CSS transitions</a>, which means that transitions won't work. Videos should still work though, unless stated above. <a href="http://caniuse.com/#feat=css-transitions">You should definitely try upgrading.</a></li>
+ <li id="html-svg-filter">It might not support SVG filters on HTML content, which means that filters like the sunset in the tea room will display as regular images. <a href="http://caniuse.com/#feat=svg-html">Unfortunately, this is only implemented in Firefox now.</a></li>
+ </ul>
+ <div id="gotit" class="button">I know it's broken, let me play!</div>
+ </div>
</div>
<div id="container">
<div id="img">
- <img id="bg" src="" alt="">
+ <img id="bg" src="/loading.png" alt="">
<div id="solid"></div>
</div>
- <img id="window" src="/dump/ui/bg-say.png" alt="" style="display: none;">
- <div id="say"></div>
+ <div id="window" style="display: none;">
+ <img id="window-image" src="/dump/ui/bg-say.png" alt="">
+ <div id="who"></div>
+ <div id="say"></div>
+ </div>
<video id="vid"></video>
</div>
</body>