雪花飘
把代码添加到后台的“网站第三方统计代码”或添加到 footer 模板:
[CSS] 纯文本查看 复制代码 <script type='text/javascript' src='https://boonkiong.com/home/jsnow.js?ver=1.5' id='jsnow-js'></script>
<script type='text/javascript' id='snow-effect-js-extra'>
/* <![CDATA[ */
var snoweffect = {"show":"1","flakes_num":"30","falling_speed_min":"1","falling_speed_max":"3","flake_max_size":"20","flake_min_size":"10","vertical_size":"800","flake_color":"#efefef","flake_zindex":"100000","flake_type":"#10053","fade_away":"1"};
/* ]]> */
</script>
<script type='text/javascript' src='https://boonkiong.com/home/snow-effect.js?ver=1.0.0' id='snow-effect-js'></script>
<script type='text/javascript' src='https://boonkiong.com/home/snow-js.min.js?ver=1.0' id='snow-js-js'></script>
<script type='text/javascript' id='snow-js-js-after'>
(function( $ ) {
var snowMax = 45;
var snowColor = new Array("#aaaacc","#ddddff","#ccccdd","#f3f3f3","#f0ffff");
var snowType = new Array("Times","Arial","Times","Verdana");
var snowEntity = "*";
var snowSpeed = 0.5;
var snowMaxSize = 30;
var snowMinSize = 12;
var snowRefresh = 50;
var snowZIndex = 2500;
var snowStyles = "cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;";
jQuery(document).trigger( 'loadWPSnow', [ snowMax, snowColor, snowType, snowEntity, snowSpeed, snowMaxSize, snowMinSize, snowRefresh, snowZIndex, snowStyles ] );
})( jQuery );
</script>
替换文件:
snow.zip
(2.87 KB, 下载次数: 41)
|