B4J Library [BANanoPreloader] Show a Preloader (loading indicator) for your app as soon as the page fires

Ola

This is a wrap of code found here, https://www.geeksforgeeks.org/how-to-show-page-loading-div-until-the-page-has-finished-loading/

Thanks to alwaysbusy advise here.

NB: Please note that no js or css resource was loaded here. BANano V5 is coming with a new way to handle preloaded and this will be updated accordingly! Ta

You can then hide the loader anytime you want by calling one of the methods or "uncomment" the javascript lines to hide it as soon as the page load is "complete".





PS: This has now been adopted for the BANanoVue project Im working on. Ooolala!
 

Attachments

  • BANanoPreloader.zip
    2.4 KB · Views: 256
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…