Difference between revisions of "Widget:RootVersesTOC"

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

Revision as of 13:29, 20 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
  • 1 Tibetan
  • 1 Sanskrit
  • 1 Chinese
  • 1 close

<script> $('li#englishFullCommentary').on("click",function(event) {

   $('a.englishTabLabel').tab('show');

}); $('li#tibetanFullCommentary').on("click",function(event) {

   $('a.englishTabLabel').tab('show');

}); $('li#sanskritFullCommentary').on("click",function(event) {

   $('a.englishTabLabel').tab('show');

}); $('li#chineseFullCommentary').on("click",function(event) {

   $('a.englishTabLabel').tab('show');

}); $('li#blankFullCommentary').on("click",function(event) {

   $('a.englishTabLabel').tab('show');

}); </script>