Pace – 自动给页面添加加载动画 By minirplus on 2014-03-09 in DEV Pace on Github,Pace是一个自动在页面加载的时候显示加载动画的JS插件,演示,它能够监听页面加载动作,包括Ajax的异步加载。它完全不需要通过Hook来进行绑定操作,也不需要添加任何的代码,只需要将下方的代码添加的head中,一切就完成了。它还提供各种参数和主题供选择,从此抛弃ajax加载图片和各种js插件吧。 1234 <head> <script src="/pace/pace.js"></script> <link href="/pace/themes/pace-theme-barber-shop.css" rel="stylesheet" /></head> Video Player/wp-content/uploads/2014/03/2014-03-09_21-54-36.mp4Media error: Format(s) not supported or source(s) not foundDownload File: https://blog.minirplus.com/wp-content/uploads/2014/03/2014-03-09_21-54-36.mp4?_=100:0000:0000:00Use Up/Down Arrow keys to increase or decrease volume.
There are no comments yet