jQuery.extend({
easing: {
backEaseIn: function(e, g, a, d) {
var f = a + d;
var b = 1.70158;
return f * (e /= 1) * e * ((b + 1) * e - b) + a
},
backEaseOut: function(e, g, a, d) {
var f = a + d;
var b = 1.70158;
return f * ((e = e / 1 - 1) * e * ((b + 1) * e + b) + 1) + a
},
backEaseInOut: function(e, g, a, d) {
var f = a + d;
var b = 1.70158;
if ((e /= 0.5) < 1) {
return f / 2 * (e * e * (((b *= (1.525)) + 1) * e - b)) + a
} else {
return f / 2 * ((e -= 2) * e * (((b *= (1.525)) + 1) * e + b) + 2) + a
}
},
bounceEaseIn: function(e, g, b, d) {
var f = b + d;
var a = this.bounceEaseOut(1 - e, 1, 0, d);
return f - a + b
},
bounceEaseOut: function(d, f, a, b) {
var e = a + b;
if (d < (1 / 2.75)) {
return e * (7.5625 * d * d) + a
} else {
if (d < (2 / 2.75)) {
return e * (7.5625 * (d -= (1.5 / 2.75)) * d + 0.75) + a
} else {
if (d < (2.5 / 2.75)) {
return e * (7.5625 * (d -= (2.25 / 2.75)) * d + 0.9375) + a
} else {
return e * (7.5625 * (d -= (2.625 / 2.75)) * d + 0.984375) + a
}
}
}
},
circEaseIn: function(d, f, a, b) {
var e = a + b;
return - e * (Math.sqrt(1 - (d /= 1) * d) - 1) + a
},
circEaseOut: function(d, f, a, b) {
var e = a + b;
return e * Math.sqrt(1 - (d = d / 1 - 1) * d) + a
},
circEaseInOut: function(d, f, a, b) {
var e = a + b;
if ((d /= 0.5) < 1) {
return - e / 2 * (Math.sqrt(1 - d * d) - 1) + a
} else {
return e / 2 * (Math.sqrt(1 - (d -= 2) * d) + 1) + a
}
},
cubicEaseIn: function(d, f, a, b) {
var e = a + b;
return e * (d /= 1) * d * d + a
},
cubicEaseOut: function(d, f, a, b) {
var e = a + b;
return e * ((d = d / 1 - 1) * d * d + 1) + a
},
cubicEaseInOut: function(d, f, a, b) {
var e = a + b;
if ((d /= 0.5) < 1) {
return e / 2 * d * d * d + a
} else {
return e / 2 * ((d -= 2) * d * d + 2) + a
}
},
elasticEaseIn: function(g, i, a, f) {
var h = a + f;
if (g == 0) {
return a
}
if (g == 1) {
return h
}
var e = 0.25;
var d;
var b = h;
if (b < Math.abs(h)) {
b = h;
d = e / 4
} else {
d = e / (2 * Math.PI) * Math.asin(h / b)
}
return - (b * Math.pow(2, 10 * (g -= 1)) * Math.sin((g * 1 - d) * (2 * Math.PI) / e)) + a
},
elasticEaseOut: function(g, i, a, f) {
var h = a + f;
if (g == 0) {
return a
}
if (g == 1) {
return h
}
var e = 0.25;
var d;
var b = h;
if (b < Math.abs(h)) {
b = h;
d = e / 4
} else {
d = e / (2 * Math.PI) * Math.asin(h / b)
}
return - (b * Math.pow(2, -10 * g) * Math.sin((g * 1 - d) * (2 * Math.PI) / e)) + h
},
expoEaseIn: function(d, f, a, b) {
var e = a + b;
return (d == 0) ? a: e * Math.pow(2, 10 * (d - 1)) + a - e * 0.001
},
expoEaseOut: function(d, f, a, b) {
var e = a + b;
return (d == 1) ? e: b * 1.001 * ( - Math.pow(2, -10 * d) + 1) + a
},
expoEaseInOut: function(d, f, a, b) {
var e = a + b;
if (d == 0) {
return a
}
if (d == 1) {
return e
}
if ((d /= 0.5) < 1) {
return e / 2 * Math.pow(2, 10 * (d - 1)) + a - e * 0.0005
} else {
return e / 2 * 1.0005 * ( - Math.pow(2, -10 * --d) + 2) + a
}
},
quadEaseIn: function(d, f, a, b) {
var e = a + b;
return e * (d /= 1) * d + a
},
quadEaseOut: function(d, f, a, b) {
var e = a + b;
return - e * (d /= 1) * (d - 2) + a
},
quadEaseInOut: function(d, f, a, b) {
var e = a + b;
if ((d /= 0.5) < 1) {
return e / 2 * d * d + a
} else {
return - e / 2 * ((--d) * (d - 2) - 1) + a
}
},
quartEaseIn: function(d, f, a, b) {
var e = a + b;
return e * (d /= 1) * d * d * d + a
},
quartEaseOut: function(d, f, a, b) {
var e = a + b;
return - e * ((d = d / 1 - 1) * d * d * d - 1) + a
},
quartEaseInOut: function(d, f, a, b) {
var e = a + b;
if ((d /= 0.5) < 1) {
return e / 2 * d * d * d * d + a
} else {
return - e / 2 * ((d -= 2) * d * d * d - 2) + a
}
},
quintEaseIn: function(d, f, a, b) {
var e = a + b;
return e * (d /= 1) * d * d * d * d + a
},
quintEaseOut: function(d, f, a, b) {
var e = a + b;
return e * ((d = d / 1 - 1) * d * d * d * d + 1) + a
},
quintEaseInOut: function(d, f, a, b) {
var e = a + b;
if ((d /= 0.5) < 1) {
return e / 2 * d * d * d * d * d + a
} else {
return e / 2 * ((d -= 2) * d * d * d * d + 2) + a
}
},
sineEaseIn: function(d, f, a, b) {
var e = a + b;
return - e * Math.cos(d * (Math.PI / 2)) + e + a
},
sineEaseOut: function(d, f, a, b) {
var e = a + b;
return e * Math.sin(d * (Math.PI / 2)) + a
},
sineEaseInOut: function(d, f, a, b) {
var e = a + b;
return - e / 2 * (Math.cos(Math.PI * d) - 1) + a
}
}
}); (function(f) {
var e = ["DOMMouseScroll", "mousewheel"];
f.event.special.mousewheel = {
setup: function() {
if (this.addEventListener) {
for (var a = e.length; a;) {
this.addEventListener(e[--a], d, false)
}
} else {
this.onmousewheel = d
}
},
teardown: function() {
if (this.removeEventListener) {
for (var a = e.length; a;) {
this.removeEventListener(e[--a], d, false)
}
} else {
this.onmousewheel = null
}
}
};
f.fn.extend({
mousewheel: function(a) {
return a ? this.bind("mousewheel", a) : this.trigger("mousewheel")
},
unmousewheel: function(a) {
return this.unbind("mousewheel", a)
}
});
function d(b) {
var h = [].slice.call(arguments, 1),
a = 0,
c = true;
b = f.event.fix(b || window.event);
b.type = "mousewheel";
if (b.wheelDelta) {
a = b.wheelDelta / 120
}
if (b.detail) {
a = -b.detail / 3
}
h.unshift(b, a);
return f.event.handle.apply(this, h)
}
})(jQuery);
$(document).ready(function() {
var G = numberOfScreens;
for (var D = 1; D <= G; D++) {
$("#name" + D).html(blockName[D])
}
if (hoverEffect) {
for (D = 1; D <= G; D++) {
$("<style>#wrapper" + D + " div:hover{border: 1px #fff solid;box-shadow: 0px 0px 5px #fff;margin-left:4px;margin-top:4px;}</style>").appendTo("head")
}
}
if (searchEngine == "google") {
search = "http://www.google.com/search"
} else {
if (searchEngine == "bing") {
search = "http://www.bing.com/search"
} else {
if (searchEngine == "yahoo") {
search = "http://search.yahoo.com/bin/search"
} else {
search = "http://www.google.com/search";
searchEngine = "google"
}
}
}
$("form").attr("action", search);
$("input:text").css("background", "#fff url(lib/" + searchEngine + "-back.png) center right no-repeat");
var E = $(window).width();
var F = $(window).height();
var y = Math.floor((E - 975) / 2);
var x = y - 1045;
var w = y - 2090;
var v = y - 3135;
var u = y - 4180;
var t = y - 5225;
var s = y - 6270;
var r = y - 7315;
var q = y - 8360;
var K = Math.floor((F - 480) / 2) - 80;
$("#place").css({
left: y,
top: K
});
var k = 1;
$("#wrapper1 input:text").focus();
var e = true;
function c() {
$("#wrapper1 input:text").focusout();
e = false;
$("#place").animate({
left: x,
},
1000, "circEaseOut",
function() {
$("#wrapper2 input:text").focus();
e = true;
k = 2
});
$("#button1to2").hide();
$("#button2to1").show();
if (G > 2) {
$("#button2to3").show();
$("#button3to2").hide()
}
}
function o() {
$("#wrapper2 input:text").focusout();
e = false;
$("#place").animate({
left: y
},
1000, "circEaseOut",
function() {
$("#wrapper1 input:text").focus();
e = true;
k = 1
});
$("#button1to2").show();
$("#button2to1").hide();
if (G > 2) {
$("#button2to3").hide();
没有合适的资源?快使用搜索试试~ 我知道了~
metro-js.rar_metro js_metro.js
共147个文件
png:128个
js:7个
css:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 121 浏览量
2022-09-23
13:09:39
上传
评论
收藏 1.39MB RAR 举报
温馨提示
修改过的metro 网站。使用metro js。
资源推荐
资源详情
资源评论
收起资源包目录
metro-js.rar_metro js_metro.js (147个子文件)
MetroJs.css 87KB
MetroJs.min.css 77KB
style.css 15KB
Thumbs.db 188KB
Thumbs.db 21KB
1pixel.gif 807B
index.htm 11KB
index.html 1KB
metroIcons_light.jpg 106KB
metroIcons.jpg 105KB
jquery-1.8.3.js 261KB
MetroJs.js 115KB
jquery-1.8.3.min.js 91KB
jquery-1.6.1.min.js 89KB
MetroJs.min.js 47KB
script.js 31KB
logger.js 3KB
ctrip.png 27KB
dribbble.png 21KB
taobaotrip.png 21KB
500px.png 20KB
elong.png 20KB
reader.png 20KB
verycd.png 19KB
dianping.png 17KB
github.png 15KB
360buy.png 15KB
slideshare.png 15KB
infoq.png 14KB
zhaopin.png 14KB
amazon.png 14KB
365psd.png 13KB
58.png 13KB
dangdang.png 13KB
shooter.png 12KB
17u.png 12KB
taobao.png 12KB
aibang.png 12KB
weibo.png 11KB
chinahr.png 11KB
kxt.png 10KB
12306.png 10KB
baixing.png 10KB
6.png 10KB
ganji.png 10KB
youku.png 9KB
wmzhe.png 9KB
10.png 9KB
net-back.png 9KB
net-back.png 9KB
ulog.png 9KB
yyets.png 8KB
designlol.png 8KB
bitbucket.png 8KB
qunar.png 7KB
51buy.png 7KB
sourceforge.png 7KB
tuniu.png 7KB
deviantart.png 7KB
appinn.png 7KB
renren.png 7KB
china-sss.png 7KB
cnblogs.png 7KB
themeforest.png 6KB
csdn.png 6KB
developerworks.png 6KB
xiachufang.png 6KB
7.png 6KB
wherewedesign.png 6KB
open.163.com.png 6KB
zasv.png 6KB
douguo.png 6KB
juhuasuan.png 6KB
163.png 6KB
infzm.png 5KB
baidulvyou.png 5KB
oschina.png 5KB
designdaily.png 5KB
alibuybuy.png 5KB
rologo.png 5KB
ziyuanhai.png 5KB
iplaysoft.png 5KB
doubanfm.png 5KB
koubei.png 5KB
douban.png 5KB
engadget.png 5KB
scriptmafia.png 4KB
5.png 4KB
3dmgame.png 4KB
vancl.png 4KB
iask.png 4KB
qiushibaike.png 4KB
suning.png 4KB
quwan.png 4KB
cnbeta.png 4KB
quora.png 4KB
tuan800.png 4KB
gmail.png 4KB
yinyuetai.png 4KB
huaban.png 4KB
共 147 条
- 1
- 2
资源评论
小波思基
- 粉丝: 74
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功