Difference between revisions of "Widget:RootVersesTOC"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 479: Line 479:
 
<script>
 
<script>
 
$('#englishFullCommentary').click(function(event) {
 
$('#englishFullCommentary').click(function(event) {
     $('#english3-tab').tab('show')
+
     $('#myTab3 li:first-of-type) a').tab('show')
 
});
 
});
 
</script>
 
</script>

Revision as of 13:20, 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

<script> $('#englishFullCommentary').click(function(event) {

   $('#myTab3 li:first-of-type) a').tab('show')

}); </script>