User-Friendly Page Loading Effects
Add-ons

Plugin Description: With the growing popularity of HTML5, web pages are becoming increasingly visually impressive. However, they also require loading a large number of plugins and assets. Unfortunately, slow network speeds, especially for websites hosted on overseas servers, can cause numerous assets to load slowly when a page is opened, resulting in misaligned and disorganized layouts. This solution was developed to make it easier for everyone to handle this issue.
Usage:
Simply include the JS file in your website's header and call the initialization method (of course, you need to include the jQuery library first).
1 2 3 4 5 6 7 8 9 10 | <!---------------------- Include Start ------------------------------><script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript" src="js/PerfectLoad.js"></script><script> $(function () { $.MyCommon.PageLoading({ sleep: 500 }); })</script><!---------------------- Include End ------------------------------> |
评论