diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-03-16 16:23:39 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-03-16 16:23:39 +0000 |
| commit | 232c9cbb3729df3f78e7cd4e2119af30383c7e14 (patch) | |
| tree | adafd05ee97f2ace8c55741977d94f74f5f310a1 /devel/phrases/pizza-simple.html | |
| parent | f7ce8940fa0d53718eb30bfc7d0ef9320bafc673 (diff) | |
thai phrase translator
Diffstat (limited to 'devel/phrases/pizza-simple.html')
| -rw-r--r-- | devel/phrases/pizza-simple.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/devel/phrases/pizza-simple.html b/devel/phrases/pizza-simple.html new file mode 100644 index 000000000..772c6f808 --- /dev/null +++ b/devel/phrases/pizza-simple.html @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<!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:vxml="http://www.w3.org/2001/vxml" + xmlns:ev="http://www.w3.org/2001/xml-events" + xmlns:xv="http://www.voicexml.org/2002/xhtml+voice" + xml:lang="en-US"> + +<head> +<title>Order a Pizza</title> +<script type="text/javascript" src="gflib.js"></script> +<script type="text/javascript" src="pizza-simple.js"></script> +<script type="text/javascript" src="order-simple.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="Pizza.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> + +<p><button onclick="newOrder()">I want to say a phrase</button></p> + +<div class="box"> +<form> +<input type="text" id="ordertext" size="100" style="width:100%" /> +</form> +</div> +<div class="box"> +<form> +<input type="text" id="ordertextf" size="100" style="width:100%" /> +</form> +<form> +<input type="text" id="ordertextt" size="100" style="width:100%" /> +</form> +</div> + +<div class="box"> +<form> +<p> +Current order state<br /> +<input type="text" id="top_img" size="70" /><br /> +<textarea id="top_abs" rows="4" cols="52"></textarea> +</p> +</form> +</div> + +</body> +</html> |
