-
Notifications
You must be signed in to change notification settings - Fork 163
/
nav.xhtml
456 lines (453 loc) · 11.9 KB
/
nav.xhtml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en"
lang="en">
<head>
<title>Children's Literature</title>
<link href="css/epub.css" rel="stylesheet" type="text/css"/>
<link href="css/nav.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<nav epub:type="toc" id="toc">
<h2>THE CONTENTS</h2>
<ol id="tocList">
<li id="np-313">
<a href="s04.xhtml#pgepubid00492">SECTION IV FAIRY STORIES—MODERN FANTASTIC TALES</a>
<ol>
<li id="np-315" class="front">
<a href="s04.xhtml#pgepubid00495">BIBLIOGRAPHY</a>
</li>
<li id="np-317" class="front">
<a href="s04.xhtml#pgepubid00498">INTRODUCTORY</a>
</li>
<li class="body">
<span class="author">Abram S. Isaacs</span>
<ol>
<li id="np-319" class="body">
<a href="s04.xhtml#pgepubid00503">190 A FOUR-LEAVED CLOVER</a>
<ol hidden="hidden">
<li>
<a href="s04.xhtml#pgepubid99001">
I. The Rabbi and the Diadem
</a>
</li>
<li>
<a href="s04.xhtml#pgepubid99002">
II. Friendship
</a>
</li>
<li>
<a href="s04.xhtml#pgepubid99003">
III. True Charity
</a>
</li>
<li>
<a href="s04.xhtml#pgepubid99004">
IV. An Eastern Garden
</a>
</li>
</ol>
</li>
</ol>
</li>
<li class="body">
<span class="author">Samuel Taylor Coleridge</span>
<ol>
<li id="np-321" class="body">
<a href="s04.xhtml#pgepubid00508">191 THE LORD HELPETH MAN AND BEAST</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">Hans Christian Andersen</span>
<ol>
<li id="np-323" class="body">
<a href="s04.xhtml#pgepubid00512">192 THE REAL PRINCESS</a>
</li>
<li id="np-325" class="body">
<a href="s04.xhtml#pgepubid00515">193 THE EMPEROR'S NEW CLOTHES</a>
</li>
<li id="np-327" class="body">
<a href="s04.xhtml#pgepubid00520">194 THE NIGHTINGALE</a>
</li>
<li id="np-329" class="body">
<a href="s04.xhtml#pgepubid00529">195 THE FIR TREE</a>
</li>
<li id="np-331" class="body">
<a href="s04.xhtml#pgepubid00536">196 THE TINDER-BOX</a>
</li>
<li id="np-333" class="body">
<a href="s04.xhtml#pgepubid00543">197 THE HARDY TIN SOLDIER</a>
</li>
<li id="np-335" class="body">
<a href="s04.xhtml#pgepubid00548">198 THE UGLY DUCKLING</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">Frances Browne</span>
<ol>
<li id="np-337" class="body">
<a href="s04.xhtml#pgepubid00556">199 THE STORY OF FAIRYFOOT</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">Oscar Wilde</span>
<ol>
<li id="np-339" class="body">
<a href="s04.xhtml#pgepubid00566">200 THE HAPPY PRINCE</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">Raymond MacDonald Alden</span>
<ol>
<li id="np-341" class="body">
<a href="s04.xhtml#pgepubid00574">201 THE KNIGHTS OF THE SILVER SHIELD</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">Jean Ingelow</span>
<ol>
<li id="np-343" class="body">
<a href="s04.xhtml#pgepubid00580">202 THE PRINCE'S DREAM</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">Frank R. Stockton</span>
<ol>
<li id="np-345" class="body">
<a href="s04.xhtml#pgepubid00588">203 OLD PIPES AND THE DRYAD</a>
</li>
</ol>
</li>
<li class="body">
<span class="author">John Ruskin</span>
<ol>
<li id="np-347" class="body">
<a href="s04.xhtml#pgepubid00602">204 THE KING OF THE GOLDEN RIVER OR THE BLACK BROTHERS</a>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</nav>
<nav epub:type="landmarks" id="guide" hidden="hidden">
<h2>Guide</h2>
<ol>
<li><a epub:type="toc" href="#toc">Table of Contents</a></li>
<li><a epub:type="bodymatter" href="s04.xhtml#pgepubid00498">Begin Reading</a></li>
</ol>
</nav>
<nav epub:type="page-list" id="pages" hidden="hidden">
<h2>Pages</h2>
<ol>
<li id="pt-180">
<a href="s04.xhtml#Page_169">169</a>
</li>
<li id="pt-181">
<a href="s04.xhtml#Page_170">170</a>
</li>
<li id="pt-182">
<a href="s04.xhtml#Page_171">171</a>
</li>
<li id="pt-183">
<a href="s04.xhtml#Page_172">172</a>
</li>
<li id="pt-184">
<a href="s04.xhtml#Page_173">173</a>
</li>
<li id="pt-185">
<a href="s04.xhtml#Page_174">174</a>
</li>
<li id="pt-186">
<a href="s04.xhtml#Page_175">175</a>
</li>
<li id="pt-187">
<a href="s04.xhtml#Page_176">176</a>
</li>
<li id="pt-188">
<a href="s04.xhtml#Page_177">177</a>
</li>
<li id="pt-189">
<a href="s04.xhtml#Page_178">178</a>
</li>
<li id="pt-190">
<a href="s04.xhtml#Page_179">179</a>
</li>
<li id="pt-191">
<a href="s04.xhtml#Page_180">180</a>
</li>
<li id="pt-192">
<a href="s04.xhtml#Page_181">181</a>
</li>
<li id="pt-193">
<a href="s04.xhtml#Page_182">182</a>
</li>
<li id="pt-194">
<a href="s04.xhtml#Page_183">183</a>
</li>
<li id="pt-195">
<a href="s04.xhtml#Page_184">184</a>
</li>
<li id="pt-196">
<a href="s04.xhtml#Page_185">185</a>
</li>
<li id="pt-197">
<a href="s04.xhtml#Page_186">186</a>
</li>
<li id="pt-198">
<a href="s04.xhtml#Page_187">187</a>
</li>
<li id="pt-199">
<a href="s04.xhtml#Page_188">188</a>
</li>
<li id="pt-200">
<a href="s04.xhtml#Page_189">189</a>
</li>
<li id="pt-201">
<a href="s04.xhtml#Page_190">190</a>
</li>
<li id="pt-202">
<a href="s04.xhtml#Page_191">191</a>
</li>
<li id="pt-203">
<a href="s04.xhtml#Page_192">192</a>
</li>
<li id="pt-204">
<a href="s04.xhtml#Page_193">193</a>
</li>
<li id="pt-205">
<a href="s04.xhtml#Page_194">194</a>
</li>
<li id="pt-206">
<a href="s04.xhtml#Page_195">195</a>
</li>
<li id="pt-207">
<a href="s04.xhtml#Page_196">196</a>
</li>
<li id="pt-208">
<a href="s04.xhtml#Page_197">197</a>
</li>
<li id="pt-209">
<a href="s04.xhtml#Page_198">198</a>
</li>
<li id="pt-210">
<a href="s04.xhtml#Page_199">199</a>
</li>
<li id="pt-211">
<a href="s04.xhtml#Page_200">200</a>
</li>
<li id="pt-212">
<a href="s04.xhtml#Page_201">201</a>
</li>
<li id="pt-213">
<a href="s04.xhtml#Page_202">202</a>
</li>
<li id="pt-214">
<a href="s04.xhtml#Page_203">203</a>
</li>
<li id="pt-215">
<a href="s04.xhtml#Page_204">204</a>
</li>
<li id="pt-216">
<a href="s04.xhtml#Page_205">205</a>
</li>
<li id="pt-217">
<a href="s04.xhtml#Page_206">206</a>
</li>
<li id="pt-218">
<a href="s04.xhtml#Page_207">207</a>
</li>
<li id="pt-219">
<a href="s04.xhtml#Page_208">208</a>
</li>
<li id="pt-220">
<a href="s04.xhtml#Page_209">209</a>
</li>
<li id="pt-221">
<a href="s04.xhtml#Page_210">210</a>
</li>
<li id="pt-222">
<a href="s04.xhtml#Page_211">211</a>
</li>
<li id="pt-223">
<a href="s04.xhtml#Page_212">212</a>
</li>
<li id="pt-224">
<a href="s04.xhtml#Page_213">213</a>
</li>
<li id="pt-225">
<a href="s04.xhtml#Page_214">214</a>
</li>
<li id="pt-226">
<a href="s04.xhtml#Page_215">215</a>
</li>
<li id="pt-227">
<a href="s04.xhtml#Page_216">216</a>
</li>
<li id="pt-228">
<a href="s04.xhtml#Page_217">217</a>
</li>
<li id="pt-229">
<a href="s04.xhtml#Page_218">218</a>
</li>
<li id="pt-230">
<a href="s04.xhtml#Page_219">219</a>
</li>
<li id="pt-231">
<a href="s04.xhtml#Page_220">220</a>
</li>
<li id="pt-232">
<a href="s04.xhtml#Page_221">221</a>
</li>
<li id="pt-233">
<a href="s04.xhtml#Page_222">222</a>
</li>
<li id="pt-234">
<a href="s04.xhtml#Page_223">223</a>
</li>
<li id="pt-235">
<a href="s04.xhtml#Page_224">224</a>
</li>
<li id="pt-236">
<a href="s04.xhtml#Page_225">225</a>
</li>
<li id="pt-237">
<a href="s04.xhtml#Page_226">226</a>
</li>
<li id="pt-238">
<a href="s04.xhtml#Page_227">227</a>
</li>
<li id="pt-239">
<a href="s04.xhtml#Page_228">228</a>
</li>
<li id="pt-240">
<a href="s04.xhtml#Page_229">229</a>
</li>
<li id="pt-241">
<a href="s04.xhtml#Page_230">230</a>
</li>
<li id="pt-242">
<a href="s04.xhtml#Page_231">231</a>
</li>
<li id="pt-243">
<a href="s04.xhtml#Page_232">232</a>
</li>
<li id="pt-244">
<a href="s04.xhtml#Page_233">233</a>
</li>
<li id="pt-245">
<a href="s04.xhtml#Page_234">234</a>
</li>
<li id="pt-246">
<a href="s04.xhtml#Page_235">235</a>
</li>
<li id="pt-247">
<a href="s04.xhtml#Page_236">236</a>
</li>
<li id="pt-248">
<a href="s04.xhtml#Page_237">237</a>
</li>
<li id="pt-249">
<a href="s04.xhtml#Page_238">238</a>
</li>
<li id="pt-250">
<a href="s04.xhtml#Page_239">239</a>
</li>
<li id="pt-251">
<a href="s04.xhtml#Page_240">240</a>
</li>
<li id="pt-252">
<a href="s04.xhtml#Page_241">241</a>
</li>
<li id="pt-253">
<a href="s04.xhtml#Page_242">242</a>
</li>
<li id="pt-254">
<a href="s04.xhtml#Page_243">243</a>
</li>
<li id="pt-255">
<a href="s04.xhtml#Page_244">244</a>
</li>
<li id="pt-256">
<a href="s04.xhtml#Page_245">245</a>
</li>
<li id="pt-257">
<a href="s04.xhtml#Page_246">246</a>
</li>
<li id="pt-258">
<a href="s04.xhtml#Page_247">247</a>
</li>
<li id="pt-259">
<a href="s04.xhtml#Page_248">248</a>
</li>
<li id="pt-260">
<a href="s04.xhtml#Page_249">249</a>
</li>
<li id="pt-261">
<a href="s04.xhtml#Page_250">250</a>
</li>
<li id="pt-262">
<a href="s04.xhtml#Page_251">251</a>
</li>
<li id="pt-263">
<a href="s04.xhtml#Page_252">252</a>
</li>
<li id="pt-264">
<a href="s04.xhtml#Page_253">253</a>
</li>
<li id="pt-265">
<a href="s04.xhtml#Page_254">254</a>
</li>
<li id="pt-266">
<a href="s04.xhtml#Page_255">255</a>
</li>
<li id="pt-267">
<a href="s04.xhtml#Page_256">256</a>
</li>
<li id="pt-268">
<a href="s04.xhtml#Page_257">257</a>
</li>
<li id="pt-269">
<a href="s04.xhtml#Page_258">258</a>
</li>
<li id="pt-270">
<a href="s04.xhtml#Page_259">259</a>
</li>
<li id="pt-271">
<a href="s04.xhtml#Page_260">260</a>
</li>
</ol>
</nav>
<script type="text/javascript">
<![CDATA[
var navLists = document.getElementsByTagName('nav');
for (var i = 0; i < navLists.length; i++) {
// find the toc nav and process
if (navLists[i].getAttributeNS('http://www.idpf.org/2007/ops','type') == 'toc') {
removeHidden(navLists[i]);
break;
}
}
function removeHidden(tocList) {
var liNodes = tocList.getElementsByTagName('li');
for (var i = 0; i < liNodes.length; i++) {
for (var j = 0; j < liNodes[i].childNodes.length; j++) {
if (liNodes[i].childNodes[j].nodeName == 'ol') {
// remove a hidden attribute
liNodes[i].childNodes[j].removeAttribute('hidden');
// call the function with the child to keep checking
removeHidden(liNodes[i].childNodes[j]);
}
}
}
}
]]>
</script>
</body>
</html>