blob: 1d1f60731824d91421fbef507a5917aaaeaf78a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
<!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>
|