Difference between revisions of "Widget:RootVersesTOC"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div id="toc" class="toc">
 
<div id="toc" class="toc">
 +
<p style="margin-left: -1rem;">Reminder: This presentation is for experimental purposes and is not meant to meet philologists expectations. Each text in each source language presented here has a complex history and are not likely to match in each verse case.</p>
 
<div id="toctitle" class="toctitle">
 
<div id="toctitle" class="toctitle">
 
<h2>Contents</h2>
 
<h2>Contents</h2>
Line 443: Line 444:
 
<ul>
 
<ul>
 
<li class="toclevel-1">
 
<li class="toclevel-1">
<a href="#Chapter_I"><span class="tocnumber">1</span> <span class="toctext">Chapter 1</span></a>
+
<a href="#Chapter_I"><span class="tocnumber">1</span> <span class="toctext">Chapter I</span></a>
 
</li>
 
</li>
 
<li class="toclevel-1 show-when-loaded">
 
<li class="toclevel-1 show-when-loaded">
<a href="#Chapter_II"><span class="tocnumber">1</span> <span class="toctext">Chapter 2</span></a>
+
<a href="#Chapter_II"><span class="tocnumber">1</span> <span class="toctext">Chapter II</span></a>
 
</li>
 
</li>
 
<li class="toclevel-1 show-when-loaded">
 
<li class="toclevel-1 show-when-loaded">
<a href="#Chapter_III"><span class="tocnumber">1</span> <span class="toctext">Chapter 3</span></a>
+
<a href="#Chapter_III"><span class="tocnumber">1</span> <span class="toctext">Chapter III</span></a>
 
</li>
 
</li>
 
<li class="toclevel-1 show-when-loaded">
 
<li class="toclevel-1 show-when-loaded">
<a href="#Chapter_IV"><span class="tocnumber">1</span> <span class="toctext">Chapter 4</span></a>
+
<a href="#Chapter_IV"><span class="tocnumber">1</span> <span class="toctext">Chapter IV</span></a>
 
</li>
 
</li>
 
<li class="toclevel-1 show-when-loaded">
 
<li class="toclevel-1 show-when-loaded">
<a href="#Chapter_V"><span class="tocnumber">1</span> <span class="toctext">Chapter 5</span></a>
+
<a href="#Chapter_V"><span class="tocnumber">1</span> <span class="toctext">Chapter V</span></a>
 
</li>
 
</li>
 
</ul>
 
</ul>
 
<div class="toctitle mt-3">
 
<div class="toctitle mt-3">
 
<h2>Select Languages</h2>
 
<h2>Select Languages</h2>
<p class="text-left">Select the languages to toggle for ALL verses.</p>
+
<p class="text-left">Select the language to toggle for ALL verses. (And give it a second)</p>
 
</div>
 
</div>
 
<ul id="commentaryToggles">
 
<ul id="commentaryToggles">
 +
<li class="toclevel-1" id="showEnglishVerses">
 +
<span class="tocnumber">1</span> <span class="toctext">English verses</span>
 +
</li>
 +
<li class="toclevel-1" id="showFrenchVerses">
 +
<span class="tocnumber">1</span> <span class="toctext">French verses</span>
 +
</li>
 
<li class="toclevel-1" id="englishFullCommentary">
 
<li class="toclevel-1" id="englishFullCommentary">
 
<span class="tocnumber">1</span> <span class="toctext">English commentary</span>
 
<span class="tocnumber">1</span> <span class="toctext">English commentary</span>
</li>
 
<li class="toclevel-1" id="frenchVerses">
 
<span class="tocnumber">1</span> <span class="toctext">French verses</span>
 
 
</li>
 
</li>
 
<li class="toclevel-1" id="tibetanFullCommentary">
 
<li class="toclevel-1" id="tibetanFullCommentary">
Line 483: Line 487:
 
</ul>
 
</ul>
 
</div>
 
</div>
<script>
 
$('li#englishFullCommentary').on("click",function(event) {
 
    $('a.englishTabLabel').tab('show');
 
});
 
$('li#tibetanFullCommentary').on("click",function(event) {
 
    $('a.tibetanTabLabel').tab('show');
 
});
 
$('li#sanskritFullCommentary').on("click",function(event) {
 
    $('a.sanskritTabLabel').tab('show');
 
});
 
$('li#chineseFullCommentary').on("click",function(event) {
 
    $('a.chineseTabLabel').tab('show');
 
});
 
$('li#blankFullCommentary').on("click",function(event) {
 
    $('a.blankTabLabel').tab('show');
 
});
 
</script>
 

Latest revision as of 16:12, 1 September 2020

Reminder: This presentation is for experimental purposes and is not meant to meet philologists expectations. Each text in each source language presented here has a complex history and are not likely to match in each verse case.

<button type="button" class="btn border btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Click to select a verse </button>

Select a chapter

  • <a href="#Chapter_I">1 Chapter I</a>
  • <a href="#Chapter_II">1 Chapter II</a>
  • <a href="#Chapter_III">1 Chapter III</a>
  • <a href="#Chapter_IV">1 Chapter IV</a>
  • <a href="#Chapter_V">1 Chapter V</a>

Select Languages

Select the language to toggle for ALL verses. (And give it a second)

  • 1 English verses
  • 1 French verses
  • 1 English commentary
  • 1 Tibetan commentary
  • 1 Sanskrit commentary
  • 1 Chinese commentary
  • 1 Close commentary tabs