Skip to content

Commit e898f9b

Browse files
committed
v26
1 parent d87553f commit e898f9b

File tree

3 files changed

+23
-32
lines changed

3 files changed

+23
-32
lines changed

prti/defaults.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var defaults = {}
22
var factoryDefaults = {}
33
factoryDefaults.font = 'Noto Sans Parthian WF' // text area font name (a single font, no quotes)
44
factoryDefaults.size = "32"; // text area font size, number of pixels (just the number)
5-
factoryDefaults.rows = "2"; // number representing number of times 100px for height of text area
5+
factoryDefaults.rows = "150"; // number representing number of times 100px for height of text area
66
factoryDefaults.lineheight = "1.4"; // number representing line height of text area in pixels/100
77
factoryDefaults.language = 'xpr' // language to use for examples
88
factoryDefaults.uifont = 'Noto Sans Parthian WF'; // font name for selection area (a single font, no quotes)
@@ -29,6 +29,7 @@ var template = {}
2929
template.github = 'prti'
3030
template.scriptcode = 'Prti'
3131
template.fontLocale = "prti"
32+
template.hints = true
3233

3334

3435

prti/index.html

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html lang="en-gb">
33
<head>
44
<meta charset="UTF-8" />
5-
<title>Parthian character app 25</title>
5+
<title>Parthian character app 26</title>
66

77
<link rel="stylesheet" href="../../shared/style/docs.css" />
8-
<link rel="stylesheet" href="../shared25/style.css" />
8+
<link rel="stylesheet" href="../shared26/style.css" />
99
<link rel="stylesheet" href="localstyle.css" />
1010

1111
<script src="defaults.js"> </script>
@@ -18,11 +18,11 @@
1818
<script src="../../shared/fontlists/manage.js"></script>
1919
<script src="../../shared/code/scriptGroups.js"></script>
2020
<script src="../../shared/code/all-names.js"></script>
21-
<script src="../shared25/setup.js"> </script>
22-
<script src="../shared25/code.js"> </script>
23-
<script src="../shared25/latinregister.js"> </script>
21+
<script src="../shared26/setup.js"> </script>
22+
<script src="../shared26/code.js"> </script>
23+
<script src="../shared26/latinregister.js"> </script>
2424
<script src="localcode.js"> </script>
25-
<script src="../shared25/pagetemplate.js"> </script>
25+
<script src="../shared26/pagetemplate.js"> </script>
2626
<script src="../../scripts/linkdata/linkdb.js"></script>
2727
<script src="localtranscription.js"> </script>
2828

@@ -42,13 +42,17 @@
4242

4343

4444

45-
<div id="phonemelist" style="position:relative;">
46-
<div id="transcriptionPalette" class="transcript" style="display:none;"></div>
47-
</div>
45+
<div id="chardata"><span id="charname">Type assist (T) is on.</span></div>
46+
4847

48+
<div id="sideMenu"></div>
49+
<script>document.getElementById('sideMenu').innerHTML = setSideMenu()</script>
4950

5051

51-
<div id="chardata"><span id="charname">Type-assist (T) is on.</span></div>
52+
53+
<div id="phonemelist" style="position:relative;">
54+
<div id="transcriptionPalette" class="transcript" style="display:none;"></div>
55+
</div>
5256

5357

5458

@@ -86,13 +90,12 @@
8690

8791

8892
<div class="spaceline">
89-
<span class="touch" dir="auto" onClick="ccb=document.getElementById('formatchars'); if (ccb.style.display=='none'){ ccb.style.display = 'block'} else {ccb.style.display='none'}">FChars</span>
93+
<span class="touch" dir="auto" onClick="ccb=document.getElementById('formatchars'); if (ccb.style.display=='none'){ ccb.style.display = 'block'} else {ccb.style.display='none'}">FORMAT</span>
9094
<!--span class="touch" title="Word separator" style="padding: 5px 50px;" dir="auto" onClick="add('𐤟');">𐤟</span-->
9195
<span class="touch" title="Space" style="padding: 5px 50px;" dir="auto" onClick="add(' ');">SPACE</span>
92-
<span class="touch" title="Tab" dir="auto" onClick="add('\u0009');"></span>
93-
<span class="touch" title="Line break" dir="auto" onClick="add('\n');"></span>
94-
<span class="touch" title="Delete 1 character at end" style="padding: 5px 20px;" dir="auto" onClick="del();">DEL</span>
95-
<span class="touch delAll" title="Delete All" style="margin-right: 20px; margin-left:20px;" dir="auto" onClick="deleteAll();"></span>
96+
97+
<span id="tabEtc"></span>
98+
<script>addTabEtc('tabEtc')</script>
9699
</div>
97100

98101

@@ -213,9 +216,6 @@
213216

214217

215218

216-
<div id="ktp0Wrapper">
217-
<div id="hintType">
218-
</div>
219219

220220

221221
<div id="punctuation">
@@ -236,9 +236,6 @@
236236
<span class="c">-</span>
237237
</div>
238238

239-
240-
</div>
241-
242239
</div>
243240

244241

prti/localstyle.css

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@
1212

1313

1414

15-
#alphabet {
16-
display: block;
17-
color: #666;
18-
}
1915

2016
span.hint {
21-
margin-right: 1px;
22-
margin-left: 2px;
23-
font-size: 50%;
17+
margin-inline-start: .5em;
18+
margin-inline-end: 1px;
19+
font-size: 60%;
2420
color:tan;
2521
}
2622
.c {
@@ -148,9 +144,6 @@ span.hint {
148144
margin-bottom: 1em;
149145
}
150146

151-
#alphabet summary {
152-
font-size: 14px;
153-
}
154147
#obsolete {
155148
text-align: center;
156149
font-size: 90%;

0 commit comments

Comments
 (0)