jQuery侧边圣诞老人滑动面板.zip

时间:2022-07-31 04:45:30
【文件属性】:

文件名称:jQuery侧边圣诞老人滑动面板.zip

文件大小:43KB

文件格式:ZIP

更新时间:2022-07-31 04:45:30

js特效-jQuery侧边圣诞老人滑动面板

jQuery侧边圣诞老人滑动面板是一款基于jQuery CSS3实现的全屏下着雪花场景动画。   var ww = 0;      var wh = 0;      var maxw = 0;      var minw = 0;      var maxh = 0;      var textShadowSupport = true;      var xv = 0;      var snowflakes = ["\u2744", "\u2745", "\u2746"];      var prevTime;      var absMax = 200;      var flakeCount = 0;      $(init);      function init() {          var detectSize = function() {              ww = $(window).width();              wh = $(window).height();              maxw = ww 300;              minw = -300;              maxh = wh 300;          };          detectSize();          $(window).resize(detectSize);          if (!$('body').css('textShadow')) {              textShadowSupport = false;          }          /* Should work in Windows 7 /*          if (/windows/i.test(navigator.userAgent))          {              snowflakes = ['*']; // Windows sucks and doesn't have Unicode chars installed              //snowflakes = ['T']; //No FF support for Wingdings          }          */          // FF seems to just be able to handle like 50... 25 with rotation          // Safari seems fine with 150 ... 75 with rotation          var i = 50;          while (i--) {              addFlake(true);          }          prevTime = new Date().getTime();          setInterval(move, 50);      }


【文件预览】:
jQuery侧边圣诞老人滑动面板
----index.html(28KB)
----php中文网下载站.url(114B)
----js()
--------jquery.min.js(91KB)
----php中文网免费下载站.txt(219B)

网友评论