Widget:LoadRootVerses: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 2: Line 2:
// Loading full content of verses on click
// Loading full content of verses on click
$(document).ready(function() {
$(document).ready(function() {
     $("#rootVerses").load("/index.php/Full_Root_Verses_Query #fullVersesQuery", function() {
     $('#rootVerses').load("/index.php/Full_Root_Verses_Query #fullVersesQuery", function() {
         $(".loaderVerses").fadeOut('fast');
         $('.loaderVerses').fadeOut('fast');
         $('.show-when-loaded').show('fast');
         $('.show-when-loaded').show('fast');
     });
     });
});
});
</script>
</script>

Revision as of 11:31, 28 March 2020

<script> // Loading full content of verses on click $(document).ready(function() {

   $('#rootVerses').load("/index.php/Full_Root_Verses_Query #fullVersesQuery", function() {
       $('.loaderVerses').fadeOut('fast');
       $('.show-when-loaded').show('fast');
   });

}); </script>