1、仿谷歌的弹性效果菜单代码仿谷歌的弹性效果菜单代码1、 Index.html仿谷歌首页flash菜单代码var aaa=r;aaa.svcToolbarYSpritePosition=a1:0,a2:-37px,a3:-74px,a4:-111px,a5:-148px,a6:-185px,a7:-222px;window.onload=aaa.init; a1 a2 a3 a4 a5 a6 a7 2、 homepage.cssbodyfont:62.5% Gulim,arial,sans-serif,verdana;height:100%;line-height:1.4em;margin:0;p
2、adding:0;tablemargin:0 auto;border-collapse:collapse;tdtext-align:center;padding:0;margin:0;formmargin:0;.bgp a,.bgp spandisplay:block;cursor:pointer;.bgp .bgp-frmargin:0 auto;#wrappertext-align:center;font-size:1.3em;a:link,a:active,a:visitedcolor:#444;text-decoration:none;a:hovercolor:#0000CC;text
3、-decoration:underline;#svc-toolbarmargin:2em auto 1.5em auto;#svc-toolbar .bgp-frwidth:52px;height:37px;margin-bottom:.5em;#svc-toolbar tdfont-size:.9em;padding:0 .35em 0 .4em;/*提示边框*/.ttmposition:absolute;font-size:1.2em;top:0;left:0;z-index:2;background:#fff;.ttlmargin:0 1px;height:1px;overflow:hi
4、dden;font-size:0;background-color:red;.ttctext-align:center;border-left:1px solid red;border-right:1px solid red;.tt-textmargin:0 auto;white-space:nowrap;padding:.2em 0 0;.ttdcheight:1px;overflow:hidden;.ttdl,.ttdrwidth:1px;height:1px;filter:alpha(opacity=75);-moz-opacity:0.75;opacity:0.75;float:lef
5、t;.ttdrfloat:right;.ttvcheight:4px;.ttvposition:relative;top:-1px;z-index:3;width:8px;height:4px;overflow:hidden;margin:0 auto;/*单元 一流素材网*/#a1-i .bgp-frbackground-position:0 0;#a1-i:hovercolor:#ea0000;#a1-i-tt .ttl,#a1-i-tt .ttdl,#a1-i-tt .ttdrbackground-color:#ea0000;#a1-i-tt .ttcborder-color:#ea00
6、00;#a1-i-tt .ttvbackground-position:-364px 0px;#a2-i .bgp-frbackground-position:0 -37px;#a2-i:hovercolor:#0d53a4;#a2-i-tt .ttl,#a2-i-tt .ttdl,#a2-i-tt .ttdrbackground-color:#0d53a4;#a2-i-tt .ttcborder-color:#0d53a4;#a2-i-tt .ttvbackground-position:-364px -37px;#a3-i .bgp-frbackground-position:0 -74p
7、x;#a3-i:hovercolor:#878787;#a3-i-tt .ttl,#a3-i-tt .ttdl,#a3-i-tt .ttdrbackground-color:#878787;#a3-i-tt .ttcborder-color:#878787;#a3-i-tt .ttvbackground-position:-364px -74px;#a4-i .bgp-frbackground-position:0 -111px;#a4-i:hovercolor:#1da745;#a4-i-tt .ttl,#a4-i-tt .ttdl,#a4-i-tt .ttdrbackground-colo
8、r:#1da745;#a4-i-tt .ttcborder-color:#1da745;#a4-i-tt .ttvbackground-position:-364px -111px;#a5-i .bgp-frbackground-position:0 -148px;#a5-i:hovercolor:#9e7eb9;#a5-i-tt .ttl,#a5-i-tt .ttdl,#a5-i-tt .ttdrbackground-color:#9e7eb9;#a5-i-tt .ttcborder-color:#9e7eb9;#a5-i-tt .ttvbackground-position:-364px
9、-148px;#a6-i .bgp-frbackground-position:0 -185px;#a6-i:hovercolor:#ffb400;#a6-i-tt .ttl,#a6-i-tt .ttdl,#a6-i-tt .ttdrbackground-color:#ffb400;#a6-i-tt .ttcborder-color:#ffb400;#a6-i-tt .ttvbackground-position:-364px -185px;#a7-i .bgp-frbackground-position:0 -222px;#a7-i:hovercolor:#3aa4df;#a7-i-tt .
10、ttl,#a7-i-tt .ttdl,#a7-i-tt .ttdrbackground-color:#3aa4df;#a7-i-tt .ttcborder-color:#3aa4df;#a7-i-tt .ttvbackground-position:-364px -222px;3、 homepage.jsvar v=window,ma=Function,$=navigator,u=Number,J=Error,R=document,la=Boolean,o=Math,S=isNaN,m=undefined;function pa(a,b)return a.height=bfunction ra
11、(a,b)return a.relatedTarget=bfunction V(a,b)return a.currentTarget=bfunction ea(a,b)return a.toString=bfunction qa(a,b)return a.left=bfunction W(a,b)return a.width=bvar Oa=document,L=height,za=slice,na=offsetLeft,B=relatedTarget,K=currentTarget,ba=offsetTop,da=target,i=length,ca=play,w=type,kb=first
12、Child,_P=prototype,ya=nodeType,k=style,aa=left,D=width,U=parentNode,oa=offsetWidth,xa=body,lb=lb|,I=this;var l=function(a)return typeof a!=undefined,O=function(a)return a instanceof Array|va(a)&typeof a.join=function&typeof a.reverse=function,wa=function(a)return typeof a=string,db=function(a)return
13、 typeof a=number,cb=function(a)return typeof a=function,va=function(a)return a!=null&typeof a=object,A=function(a)if(a.hasOwnProperty&a.hasOwnProperty(fa)return afaif(!afa)afa=String(+Pb)return afa,fa=closure_hashCode_,Pb=0,sb=function(a)if(va(a)if(a.clone)return a.clone()var b=O(a)?:;for(var c in a
14、)bc=sb(ac)return breturn a,rb=function(a,b)var c=a.na|;c=c.concat(Array_Pza.call(arguments,2);if(a.Q)b=a.Qif(a.P)a=a.Pvar d=function()var f=c.concat(Array_Pza.call(arguments);return a.apply(b,f);d.na=c;d.Q=b;d.P=a;return d,Qb=function(a,b)for(var c in b)ac=bc;if(!ma_P.apply)ma_P.apply=function(a,b)v
15、ar c=,d,f;if(!a)a=I;if(!b)b=;for(var e=0;ebi;e+)ce=args+e+f=oScope._applyTemp_.peek().(+c.join(,)+);if(!a._applyTemp_)a._applyTemp_=a._applyTemp_.push(this);d=eval(f);a._applyTemp_.pop();return dma_P.bind=function(a)return rb.apply(null,this,a.concat(Array_Pza.call(arguments,1);ma_P.inherits=functio
16、n(a)function b()b.prototype=a_P;this.oa=a_P;this.prototype=new b;this_P.constructor=this;if(!Array_P.push)Array_P.push=function()for(var a=0;aargumentsi;a+)thisthisi=argumentsareturn thisiif(!Array_P.pop)Array_P.pop=function()var a;if(thisi)a=thisthisi-1;this.length-return aArray_P.peek=function()re
17、turn thisthisi-1;if(!Array_P.shift)Array_P.shift=function()var a;if(thisi)a=this0;for(var b=0;b=0;b-)thisb+a=thisbfor(var c=0;ca;c+)thisc=argumentscreturn thisi;var Pa=function(a,b,c)if(a.indexOf)return a.indexOf(b,c)if(Array.indexOf)return Array.indexOf(a,b,c)if(c=null)c=0else if(c0)c=o.max(0,ai+c)
18、for(var d=c;dai;d+)if(ad=b)return dreturn-1,nb=function(a,b,c)if(a.filter)return a.filter(b,c)if(Array.filter)return Array.filter(a,b,c)var d=ai,f=,e=wa(a)?a.split():a;for(var h=0;hd;h+)if(b.call(c,eh,h,a)f.push(eh)return f,ob=function(a,b,c)if(a.map)return a.map(b,c)if(Array.map)return Array.map(a,
19、b,c)var d=ai,f=,e=wa(a)?a.split():a;for(var h=0;h-1,pb=function(a,b)var c=Pa(a,b),d;if(d=c!=-1)qb(a,c)return d,qb=function(a,b)return Array_P.splice.call(a,b,1)i=1;var Rb=function(a,b)var c;if(c=b in a)delete abreturn c;var Sb=function(a)var b=;for(var c=0;cai;c+)ba.charAt(c)=truereturn b,gc=Sb()+-?
20、*.$|,:#!);var Z=function(a,b)W(this,l(a)?u(a):m);pa(this,l(b)?u(b):m);Z_P.clone=function()return new Z(thisD,thisL);ea(Z_P,function()return(+thisD+ x +thisL+);Z.equals=function(a,b)if(a=b)return trueif(!a|!b)return falsereturn aD=bD&aL=bL;var G=function(a,b)this.x=l(a)?u(a):m;this.y=l(b)?u(b):m;G_P.
21、clone=function()return new G(this.x,this.y);ea(G_P,function()return(+this.x+, +this.y+);G.equals=function(a,b)if(a=b)return trueif(!a|!b)return falsereturn a.x=b.x&a.y=b.y;G.distance=function(a,b)var c=a.x-b.x,d=a.y-b.y;return o.sqrt(c*c+d*d);G.squaredDistance=function(a,b)var c=a.x-b.x,d=a.y-b.y;re
22、turn c*c+d*d;G.difference=function(a,b)return new G(a.x-b.x,a.y-b.y);var Ja=function(a,b)a=u(a);b=u(b);this.start=ab?a:b;this.end=ab?b:a;Ja_P.clone=function()return new Ja(this.start,this.end);ea(Ja_P,function()return+this.start+, +this.end+);var Ka=function(a,b,c,d)qa(this,l(a)?u(a):m);this.top=l(b
23、)?u(b):m;W(this,l(c)?u(c):m);pa(this,l(d)?u(d):m);Ka_P.clone=function()return new Ka(thisaa,this.top,thisD,thisL);ea(Ka_P,function()return(+thisaa+, +this.top+ - +thisD+w x +thisL+h);var Ia=function(a,b,c,d)this.top=l(a)?u(a):m;this.right=l(b)?u(b):m;this.bottom=l(c)?u(c):m;qa(this,l(d)?u(d):m);Ia_P.clone=function()return new Ia(this.top,this.right,this.bottom,thisaa);ea(Ia_P,function()return(+this.top+t, +this.right+r, +this.bottom+b, +thisaa+l);var Ma,ka,Xb,fb,Zb,gb,Yb,Na,b
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1