-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
63 lines (61 loc) · 3.82 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>粵語拼音轉換</title>
<link rel="stylesheet" type="text/css" href="css/concise.min.css"/>
<link rel="stylesheet" type="text/css" href="css/pingyam.css"/>
<script src="js/pingyam.js" type="text/javascript"></script>
<script src="js/data.js" type="text/javascript"></script>
<script src="js/strings.js" type="text/javascript"></script>
</head>
<body onload="window.converttext.focus();">
<header>
<a class="tr-string" data-tr="src" href="https://github.com/dohliam/pingyam-js">原始碼</a> ·
<select name="lang_selector" id="lang_selector" accesskey="l" onchange="translate_string(this.value)">
<option class="tr-string" data-tr="lang" value="" disabled="" SELECTED>Language</option>
<option value="zht">中文(繁體)</option>
<option value="zhs">中文(简体)</option>
<option value="en">English</option>
</select>
</header>
<h1 class="tr-string" data-tr="title">粵語拼音轉換</h1>
<div id="converter">
<textarea class="tr-string" data-tr="input" id="converttext" rows=10 cols=40 placeholder="輸入粵語拼音" accesskey="i" oninput="yuepinzh()"></textarea><br>
<span class="tr-string" data-tr="orig">原文:</span>
<select id="frompin" onchange="yuepinzh()" accesskey="f">
<option class="tr-string" data-tr="py0" value="0">耶魯拼音(數字)</option>
<option class="tr-string" data-tr="py1" value="1">耶魯拼音(調符)</option>
<option class="tr-string" data-tr="py2" value="2">教院拼音</option>
<option class="tr-string" data-tr="py3" value="3">黃錫凌(數字)</option>
<option class="tr-string" data-tr="py4" value="4">黃錫凌(調符)</option>
<option class="tr-string" data-tr="py5" value="5">國際音標</option>
<option class="tr-string" data-tr="py6" value="6">粵拼</option>
<option class="tr-string" data-tr="py7" value="7">廣州拼音</option>
<option class="tr-string" data-tr="py8" value="8">劉錫祥</option>
<option class="tr-string" data-tr="py9" value="9">粵語拼音字(數字)</option>
<option class="tr-string" data-tr="py10" value="10">粵語拼音字(調符)</option>
</select><br>
<span class="tr-string" data-tr="out">轉成:</span>
<select id="topin" onchange="yuepinzh()" accesskey="t">
<option class="tr-string" data-tr="py0" value="0">耶魯拼音(數字)</option>
<option class="tr-string" data-tr="py1" value="1">耶魯拼音(調符)</option>
<option class="tr-string" data-tr="py2" value="2">教院拼音</option>
<option class="tr-string" data-tr="py3" value="3">黃錫凌(數字)</option>
<option class="tr-string" data-tr="py4" value="4">黃錫凌(調符)</option>
<option class="tr-string" data-tr="py5" value="5">國際音標</option>
<option class="tr-string" data-tr="py6" value="6" SELECTED>粵拼</option>
<option class="tr-string" data-tr="py7" value="7">廣州拼音</option>
<option class="tr-string" data-tr="py8" value="8">劉錫祥</option>
<option class="tr-string" data-tr="py9" value="9">粵語拼音字(數字)</option>
<option class="tr-string" data-tr="py10" value="10">粵語拼音字(調符)</option>
</select><br>
<button class="tr-string" data-tr="convert" type="button" onclick="yuepinzh()">轉換</button><br>
<div id="rcontainer" style="display:none">
<div id="rheader"><h3 class="tr-string" data-tr="result">結果:</h3></div>
<textarea id="results" placeholder="" accesskey="o"></div>
</div>
</div>
</body>
</html>