summaryrefslogtreecommitdiff
path: root/src/www/wc.html
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-05-27 13:29:41 +0000
committerhallgren <hallgren@chalmers.se>2015-05-27 13:29:41 +0000
commitf763074eec300d7a0f7573a68577248ebce6e711 (patch)
tree1b38b78df0122cc32960f6cf5e44cb1a9d58cfae /src/www/wc.html
parent75aa394dc14bb26703f0043a0b41e1e076d38198 (diff)
Wide Coverage Translation Demo: add buttons for speech output
Also fixed a problem with showing inflections for words containing underscores (e.g. race_2_N).
Diffstat (limited to 'src/www/wc.html')
-rw-r--r--src/www/wc.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/www/wc.html b/src/www/wc.html
index 06a86a973..3251b0925 100644
--- a/src/www/wc.html
+++ b/src/www/wc.html
@@ -32,6 +32,10 @@ span.inflect { color: blue; }
.node rect { fill: #fff; stroke: black; stroke-width: 1.5px; }
.node text { font-size: 10px; font-family: serif; }
.link { fill: none; stroke: #ccc; stroke-width: 1.5px; }
+.speech_buttons > * { display: none; }
+.speech_buttons > *:nth-child(1) { display: inline; }
+.speech_buttons > *:nth-child(2) { display: inline; }
+/* .speech_buttons:hover > * { display: inline; } */
</style>
</head>
@@ -103,7 +107,7 @@ span.inflect { color: blue; }
</div>
<hr>
<div class=modtime><small>
-<!-- hhmts start -->Last modified: Mon May 18 13:38:24 CEST 2015 <!-- hhmts end -->
+<!-- hhmts start -->Last modified: Wed May 27 15:27:37 CEST 2015 <!-- hhmts end -->
</small></div>
<a href="http://www.grammaticalframework.org/demos/translation.html">About</a>
<script src="js/support.js"></script>
@@ -111,6 +115,7 @@ span.inflect { color: blue; }
<script src="js/localstorage.js"></script>
<script src="js/langcode.js"></script>
<script src="js/pgf_online.js"></script>
+<script src="minibar/minibar_support.js">/* speech functions */</script>
<script src="js/wc.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>