mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-15 07:49:31 -06:00
74 lines
2.4 KiB
XML
74 lines
2.4 KiB
XML
<!DOCTYPE html PUBLIC "-//VoiceXML Forum//DTD XHTML+Voice 1.2//EN" "http://www.voicexml.org/specs/multimodal/x+v/12/dtd/xhtml+voice12.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:ev="http://www.w3.org/2001/xml-events"
|
|
xmlns:xv="http://www.voicexml.org/2002/xhtml+voice"
|
|
xmlns:vxml="http://www.w3.org/2001/vxml">
|
|
|
|
<head>
|
|
<title>Say Phrases in Thai</title>
|
|
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
|
|
|
|
<link href="style.css" rel="stylesheet" type="text/css"></link>
|
|
|
|
<script type="text/javascript" src="gflib.js"></script>
|
|
<script type="text/javascript" src="Travel.js"></script>
|
|
<script type="text/javascript" src="order.js"></script>
|
|
|
|
<vxml:form id="talker">
|
|
<vxml:block>
|
|
<vxml:value expr="talkText"/>
|
|
</vxml:block>
|
|
</vxml:form>
|
|
|
|
<vxml:form id="getorder">
|
|
<vxml:var name="dummy" />
|
|
<vxml:subdialog name="sub" src="TravelEng.vxml#Order_cat">
|
|
<vxml:param name="old" expr="currentOrder" />
|
|
<vxml:filled>
|
|
<vxml:assign name="dummy" expr="done(sub.term)"/>
|
|
</vxml:filled>
|
|
</vxml:subdialog>
|
|
</vxml:form>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div><img src="images/logo.png" width="246" height="92" /></div>
|
|
|
|
<div><p>This demo requires an XHTML+Voice browser.
|
|
<a href="index.html">More information about this demo</a>.</p></div>
|
|
|
|
<p><button onclick="newOrder()">I want to say my order</button></p>
|
|
|
|
<div class="box">
|
|
|
|
<p id="ordertext"></p>
|
|
<p id="ordertextf"></p>
|
|
<p id="ordertextt"></p>
|
|
|
|
<p><object id="order" data="images/order.svg" width="700" height="200"></object></p>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="box">
|
|
<form>
|
|
<textarea id="in_abs" rows="4" cols="52"></textarea>
|
|
<textarea id="out_abs" rows="4" cols="52"></textarea>
|
|
</form>
|
|
</div>
|
|
|
|
<!-- SVG "sprites" -->
|
|
|
|
<object id="pizza" data="images/pizza.svg" width="0" height="0"></object>
|
|
<object id="ham" data="images/ham.svg" width="0" height="0"></object>
|
|
<object id="cheese" data="images/cheese.svg" width="0" height="0"></object>
|
|
<object id="pepperoni" data="images/pepperoni.svg" width="0" height="0"></object>
|
|
<object id="anchovies" data="images/anchovies.svg" width="0" height="0"></object>
|
|
<object id="beer" data="images/beer.svg" width="0" height="0"></object>
|
|
<object id="coke" data="images/coke.svg" width="0" height="0"></object>
|
|
|
|
</body>
|
|
</html>
|