KikiQiQi commited on
Commit
b943931
Β·
1 Parent(s): c09c4c8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +9 -7
index.html CHANGED
@@ -16,18 +16,20 @@
16
 
17
  <script>
18
  // ζ–‡δ»Άεηš„ε‰ηΌ€ε’Œζ€»ζ•°
19
- var prefix = 'dialogue-4-';
20
- var totalFiles = 9;
21
 
22
  // θŽ·ε–ι€‰ζ‹©ζ‘†ε…ƒη΄ 
23
  var selectElement = document.getElementById('dialogueSelector');
24
 
25
  // εŠ¨ζ€η”Ÿζˆι€‰ι‘Ή
26
- for (var i = 0; i <= totalFiles; i++) {
27
- var option = document.createElement('option');
28
- option.value = prefix + i + '.html';
29
- option.textContent = 'data-4-' + i;
30
- selectElement.appendChild(option);
 
 
31
  }
32
 
33
  function loadDialogue() {
 
16
 
17
  <script>
18
  // ζ–‡δ»Άεηš„ε‰ηΌ€ε’Œζ€»ζ•°
19
+ var prefixes = ['dialogue-4-', 'dialogue-3.5-'];
20
+ var totalFiles = 10;
21
 
22
  // θŽ·ε–ι€‰ζ‹©ζ‘†ε…ƒη΄ 
23
  var selectElement = document.getElementById('dialogueSelector');
24
 
25
  // εŠ¨ζ€η”Ÿζˆι€‰ι‘Ή
26
+ for (var j = 0; j < prefixes.length; j++) {
27
+ for (var i = 0; i <= totalFiles; i++) {
28
+ var option = document.createElement('option');
29
+ option.value = prefixes[j] + i + '.html';
30
+ option.textContent = prefixes[j] + i;
31
+ selectElement.appendChild(option);
32
+ }
33
  }
34
 
35
  function loadDialogue() {