// Cloud Float...var $main = $cloud = mainwidth = null;var offset1 = 450;var offset2 = 0;var offsetbg = 0;$(document).ready( function () { $main = $("#mainBody"); $body = $("body"); $cloud1 = $("#cloud1"); $cloud2 = $("#cloud2"); mainwidth = $main.outerWidth(); });/// 飘动setInterval(function flutter() { if (offset1 >= mainwidth) { offset1 = -580; } if (offset2 >= mainwidth) { offset2 = -580; } offset1 += 1.1; offset2 += 1; $cloud1.css("background-position", offset1 + "px 30px") $cloud2.css("background-position", offset2 + "px 340px")}, 70);/*setInterval(function bg() { if (offsetbg >= mainwidth) { offsetbg = -580; } offsetbg += 0.6; $body.css("background-position", -offsetbg + "px 0")}, 90 );*/
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)