Difference between revisions of "Widget:RootVersesTOC"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 485: Line 485:
 
<script>
 
<script>
 
$('li#englishFullCommentary').on("click",function(event) {
 
$('li#englishFullCommentary').on("click",function(event) {
    $('a.englishTabLabel').tab('show');
 
});
 
$('li#frenchVerses').on("click",function(event) {
 
 
     $('a.englishTabLabel').tab('show');
 
     $('a.englishTabLabel').tab('show');
 
});
 
});

Revision as of 12:46, 24 February 2020

<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 1</a>
  • <a href="#Chapter_II">1 Chapter 2</a>
  • <a href="#Chapter_III">1 Chapter 3</a>
  • <a href="#Chapter_IV">1 Chapter 4</a>
  • <a href="#Chapter_V">1 Chapter 5</a>

Toggle Language

Select the language of commentary to toggle for ALL verses.

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

<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>