代码使用直接把代码复制粘贴到想要显示的网页里的body标签里即可,jQuery库使用的bootcss的cdn加速,如已调用可删除,怕外链失效就全本地化。

WordPress主题使用方式:进入后台—外观—主题设置—自定义代码—自定义JS代码然后复制下面的这段代码过去。

 <!--
<script src="https://cdn.bootcss.com/jquery/1.2.3/jquery.min.js"></script>
<script src="https://aliyun.ccswust.org/1/js/luoye.js"> </script>
<script type="text/javascript">jQuery(document).ready(function($){
$('body').wpSuperSnow({
flakes: ['https://aliyun.ccswust.org/1/img/007.png ' ,'https://aliyun.ccswust.org/1/img/006.png','https://aliyun.ccswust.org/1/img/004.png','https://aliyun.ccswust.org/1/img/002.png','https://aliyun.ccswust.org/1/img/001.png','https://aliyun.ccswust.org/1/img/003.png','https://aliyun.ccswust.org/1/img/002.png','https://aliyun.ccswust.org/1/img/001.png'],
totalFlakes: '290',
zIndex: '999999',
maxSize: '30',
maxDuration: '20',
useFlakeTrans: false
});
});</script>
--> 

发表回复

后才能评论