Widget:LoadRootVerses: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
Line 3: Line 3:
$(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:30, 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>