WordPress.org

Plugin Directory

Changeset 175260


Ignore:
Timestamp:
11/19/09 16:16:15 (4 years ago)
Author:
bolo1988
Message:

Upload Overlay4WP 1.0.3

Location:
overlay4wp/trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • overlay4wp/trunk/js/overlay.min.js

    r168918 r175260  
    1 /* 
    2  * jquery.tools 1.1.2 - The missing UI library for the Web 
    3  *  
    4  * [tools.overlay-1.1.2, tools.overlay.gallery-1.0.0, tools.overlay.apple-1.0.1] 
    5  *  
    6  * Copyright (c) 2009 Tero Piirainen 
    7  * http://flowplayer.org/tools/ 
    8  * 
    9  * Dual licensed under MIT and GPL 2+ licenses 
    10  * http://www.opensource.org/licenses 
    11  *  
    12  * ----- 
    13  *  
    14  * File generated: Wed Oct 07 12:37:52 GMT+00:00 2009 
    15  */ 
    16 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(3(c){c.K=c.K||{};c.K.9={1o:"1.1.2",1N:3(e,f,g){b[e]=[f,g]},14:{G:"10%",F:"1L",X:S,16:"2R",1P:"2t",1b:"25",E:T,28:D,1q:D,1I:D,17:S,I:T,1E:T}};5 b={};c.K.9.1N("25",3(e){6.U().R(6.13().16,e)},3(e){6.U().1R(6.13().1P,e)});5 d=[];3 a(g,k){5 o=6,m=c(6),n=c(1S),j,i,h,e=k.I&&c.K.I.1o;5 f=k.1E||g.P("2S");i=f?c(f):T||g;4(!i.M){1s"2Q 2x L 26: "+f}4(g&&g.1c(i)==-1){g.W(3(p){o.1F(p);7 p.2A()})}c.J(k,3(p,q){4(c.2a(q)){m.Q(p,q)}});c.N(o,{1F:3(u){4(o.O()){7 o}5 r=b[k.1b];4(!r){1s\'26: 2P L 1b : "\'+k.1b+\'"\'}4(k.28){c.J(d,3(){6.E(u)})}u=u||c.24();u.1a="1h";m.1d(u);4(u.23()){7 o}h=D;4(e){i.I().1F(u)}5 t=k.G;5 s=k.F;5 p=i.2q({1z:D});5 q=i.2M({1z:D});4(1O t=="21"){t=t=="1L"?1e.29((n.V()-q)/2,0):1y(t,10)/2N*n.V()}4(s=="1L"){s=1e.29((n.H()-p)/2,0)}4(!k.X){t+=n.2s();s+=n.2r()}i.C({G:t,F:s,2y:"X"});u.1a="1Z";m.1d(u);r[0].1J(o,3(){4(h){u.1a="20";m.1d(u)}});4(k.1q){c(1r).Q("W.9",3(w){4(!o.O()){7}5 v=c(w.1E);4(v.2O(i).M>1){7}c.J(d,3(){6.E(w)})})}4(k.1I){c(1r).18("1f.9").Q("1f.9",3(v){4(v.1n==27){c.J(d,3(){6.E(v)})}})}7 o},E:3(q){4(!o.O()){7 o}q=q||c.24();q.1a="1G";m.1d(q);4(q.23()){7}h=S;b[k.1b][1].1J(o,3(){q.1a="1k";m.1d(q)});5 p=D;c.J(d,3(){4(6.O()){p=S}});4(p){c(1r).18("W.9").18("1f.9")}7 o},2T:3(){7 i},U:3(){7 i},1K:3(){7 g},2c:3(){7 j},O:3(){7 h},13:3(){7 k},Q:3(p,q){m.Q(p,q);7 o},18:3(p){m.18(p);7 o}});c.J("1h,1Z,20,1G,1k".2Z(","),3(p,q){o[q]=3(r){7 o.Q(q,r)}});4(e){4(1O k.I=="21"){k.I={30:k.I}}c.N(k.I,{17:D,1q:k.1q,1I:S});5 l=i.I(k.I);l.1G(3(p){o.E(p)});o.1k(3(p){l.E(p)})}j=i.L(k.E||".E");4(!j.M&&!k.E){j=c(\'<22 2Y="E"></22>\');i.2d(j)}j.W(3(p){o.E(p)})}c.2i.9=3(e){5 f=6.19(1O e=="2X"?e:0).Y("9");4(f){7 f}4(c.2a(e)){e={1h:e}}5 g=c.N({},c.K.9.14);e=c.N(D,g,e);6.J(3(){f=1D a(c(6),e);d.2L(f);c(6).Y("9",f)});7 e.17?f:6}})(1M);(3(b){5 a=b.K.9;a.1g=a.1g||{};a.1g.1Q={1o:"1.0.0",14:{1x:"Z",2j:".2V",2k:".2W",2l:".31",2h:".2J",1u:"2G",1m:"2D",1t:0.8,16:"2H",2f:"<2b>${1l}</2b> <1Y>1T ${1c} 32 ${2m}</1Y>",1H:D,1X:D,17:S}};b.2i.1Q=3(d){5 o=b.N({},a.1g.1Q.14),m;b.N(o,d);m=6.9();5 r=6,j=m.U(),k=j.L(o.2j),g=j.L(o.2k),e=j.L(o.2l),c=j.L(o.2h),h=g.2g(k).2g(e).C({1t:o.1t}),s=m.2c(),l;3 p(u){c.R();h.12();s.12();5 t=u.P("1U");5 v=1D 1T();v.3i=3(){c.1R();5 y=b("#"+o.1x,j);4(!y.M){y=b("<Z/>").P("3j",o.1x).C("1A","2e");j.2d(y)}y.P("1j",t).C("1A","2e");5 z=v.H;5 A=(b(1S).H()-z)/2;l=r.1c(r.1W("[1U="+t+"]"));r.1C(o.1m).19(l).1B(o.1m);5 w=o.1u;h.1C(w);4(l===0){g.1B(w)}4(l==r.M-1){k.1B(w)}5 B=o.2f.1i("${1l}",u.P("1l")||u.Y("1l")).1i("${1c}",l+1).1i("${2m}",r.M);5 x=1y(e.C("36"),10)+1y(e.C("3f"),10);e.1V(B).C({H:z-x});j.1v({H:z,V:v.V,F:A},o.16,3(){y.12().C("1A","2v").R(3(){4(!o.1H){h.R();s.1p()}})})};v.3d=3(){j.R().1V("35 L 2w "+t)};v.1j=t;4(o.1X){r.1W(":19("+(l-1)+"), :19("+(l+1)+")").J(3(){5 w=1D 1T();w.1j=b(6).P("1U")})}}3 f(t,u){t.W(3(){4(t.38(o.1u)){7}5 v=r.19(i=l+(u?1:-1));4(v.M){p(v)}})}f(k,D);f(g);b(1r).1f(3(t){4(!j.2n(":2v")||t.3e||t.34){7}4(t.1n==37||t.1n==39){5 u=t.1n==37?g:k;u.W();7 t.2A()}7 D});3 q(){4(!j.2n(":3a")){h.1p();s.1p()}}4(o.1H){j.3c(q,3(){h.1R();s.12()}).33(q)}5 n;6.J(3(){5 v=b(6),u=b(6).9(),t=u;u.1h(3(){p(v)});u.1k(3(){r.1C(o.1m)})});7 o.17?n:6}})(1M);(3(d){5 b=d.K.9;b.1w=b.1w||{};b.1w.2B={1o:"1.0.1"};d.N(b.14,{11:{X:D,G:T,F:T},2p:"2t",15:3g});3 c(f){5 g=f.3m();7[g.G+f.V()/2,g.F+f.H()/2]}5 e=3(n){5 k=6.U(),f=6.13(),i=6.1K(),q=6,r=k.2q({1z:D}),m=k.Y("Z");4(!m){5 l=k.C("2z");4(!l){1s"3o-2w 3k 3h 2x 3l 3n 9"}l=l.3b(l.2u("(")+1,l.2u(")")).1i(/\\"/g,"");k.C("2z","2C");m=d(\'<Z 1j="\'+l+\'"/>\');m.C({2F:0,2y:"X",2K:"2C"}).H(r);d("2I").2E(m);k.Y("Z",m)}5 o=d(1S),j=f.11.G||1e.2o(o.V()/2),h=f.11.F||1e.2o(o.H()/2);4(i){5 g=c(i);j=g[0];h=g[1]}4(!f.11.X){j+=o.2s();h+=o.2r()}m.C({G:j,F:h,H:0,15:f.15}).1p();m.1v({G:k.C("G"),F:k.C("F"),H:r},f.16,3(){k.C("15",f.15+1).R(f.2p,3(){4(q.O()&&!d(6).1c(k)){n.1J()}2U{k.12()}})})};5 a=3(f){5 h=6.U(),i=6.13(),g=6.1K(),l=i.11.G,k=i.11.F;h.12();4(g){5 j=c(g);l=j[0];k=j[1]}h.Y("Z").1v({G:l,F:k,H:0},i.1P,f)};b.1N("2B",e,a)})(1M);',62,211,'|||function|if|var|this|return||overlay|||||||||||||||||||||||||||||css|true|close|left|top|width|expose|each|tools|find|length|extend|isOpened|attr|bind|fadeIn|false|null|getOverlay|height|click|absolute|data|img||start|hide|getConf|conf|zIndex|speed|api|unbind|eq|type|effect|index|trigger|Math|keydown|plugins|onBeforeLoad|replace|src|onClose|title|activeClass|keyCode|version|show|closeOnClick|document|throw|opacity|disabledClass|animate|effects|imgId|parseInt|margin|visibility|addClass|removeClass|new|target|load|onBeforeClose|autohide|closeOnEsc|call|getTrigger|center|jQuery|addEffect|typeof|closeSpeed|gallery|fadeOut|window|Image|href|html|filter|preload|span|onStart|onLoad|string|div|isDefaultPrevented|Event|default|Overlay||oneInstance|max|isFunction|strong|getClosers|prepend|hidden|template|add|progress|fn|next|prev|info|total|is|round|fadeInSpeed|outerWidth|scrollLeft|scrollTop|fast|indexOf|visible|image|not|position|backgroundImage|preventDefault|apple|none|active|append|border|ow_disabled|slow|body|ow_progress|display|push|outerHeight|100|parents|cannot|Could|normal|rel|getContent|else|ow_next|ow_prev|number|class|split|color|ow_info|of|mousemove|ctrlKey|Cannot|paddingLeft||hasClass||animated|substring|hover|onerror|altKey|paddingRight|9999|property|onload|id|CSS|set|offset|for|background'.split('|'),0,{})) 
     1eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(4($){$.B=$.B||{};$.B.a={1z:\'1.1.2\',2J:4(q,2j,2e){1q[q]=[2j,2e]},3:{A:\'10%\',z:\'21\',1c:F,1w:\'36\',1F:\'2P\',19:\'2K\',g:M,2I:o,12:o,1d:o,p:F,m:M,1Z:M}};b 1q={};$.B.a.2J(\'2K\',4(13){c.1s().1g(c.1y().1w,13)},4(J){c.1s().1D(c.1y().1F,J)});b 16=[];4 1p(j,3){b 7=c,$7=$(c),w=$(Z),N,a,1e,m=3.m&&$.B.m.1z;b 1r=3.1Z||j.Q("33");a=1r?$(1r):M||j;6(!a.L){2N"35 2Y K 1p: "+1r}6(j&&j.r(a)==-1){j.U(4(e){7.Y(e);9 e.2W()})}$.s(3,4(q,n){6($.25(n)){$7.y(q,n)}});$.I(7,{Y:4(e){6(7.18()){9 7}b 1R=1q[3.19];6(!1R){2N"1p: 3j K 19 : \\""+3.19+"\\""}6(3.2I){$.s(16,4(){c.g(e)})}e=e||$.1A();e.G="14";$7.j(e);6(e.1C()){9 7}1e=o;6(m){a.m().Y(e)}b A=3.A;b z=3.z;b 2F=a.3i({2D:o});b 2C=a.3e({2D:o});6(1m A==\'1X\'){A=A==\'21\'?26.1P((w.x()-2C)/2,0):1L(A,10)/38*w.x()}6(z==\'21\'){z=26.1P((w.v()-2F)/2,0)}6(!3.1c){A+=w.3c();z+=w.3g()}a.k({A:A,z:z,1G:\'1c\'});e.G="2n";$7.j(e);1R[0].2T(7,4(){6(1e){e.G="13";$7.j(e)}});6(3.12){$(E).y("U.a",4(e){6(!7.18()){9}b 2Q=$(e.1Z);6(2Q.3d(a).L>1){9}$.s(16,4(){c.g(e)})})}6(3.1d){$(E).X("1f.a").y("1f.a",4(e){6(e.1i==27){$.s(16,4(){c.g(e)})}})}9 7},g:4(e){6(!7.18()){9 7}e=e||$.1A();e.G="1k";$7.j(e);6(e.1C()){9}1e=F;1q[3.19][1].2T(7,4(){e.G="J";$7.j(e)});b 1S=o;$.s(16,4(){6(c.18()){1S=F}});6(1S){$(E).X("U.a").X("1f.a")}9 7},3a:4(){9 a},1s:4(){9 a},3f:4(){9 j},2v:4(){9 N},18:4(){9 1e},1y:4(){9 3},y:4(q,n){$7.y(q,n);9 7},X:4(q){$7.X(q);9 7}});$.s("14,2n,13,1k,J".2m(","),4(i,17){7[17]=4(n){9 7.y(17,n)}});6(m){6(1m 3.m==\'1X\'){3.m={1E:3.m}}$.I(3.m,{p:o,12:3.12,1d:F});b 1I=a.m(3.m);1I.1k(4(e){7.g(e)});7.J(4(e){1I.g(e)})}N=a.K(3.g||".g");6(!N.L&&!3.g){N=$(\'<2a 3b="g"></2a>\');a.2t(N)}N.U(4(e){7.g(e)})}$.n.a=4(3){b f=c.W(1m 3==\'2s\'?3:0).1a("a");6(f){9 f}6($.25(3)){3={14:3}}b 1H=$.I({},$.B.a.3);3=$.I(o,1H,3);c.s(4(){f=1B 1p($(c),3);16.3h(f);$(c).1a("a",f)});9 3.p?f:c}})(1N);(4($){b t=$.B.a;t.1o=t.1o||{};t.1o.23={1z:\'1.0.0\',3:{29:\'C\',S:\'.30\',V:\'.2Z\',O:\'.31\',1l:\'.32\',1V:\'34\',1u:\'3q\',T:0.8,1w:\'2E\',2q:\'<2c>${1x}</2c> <2k>1M ${r} 3L ${2x}</2k>\',1K:o,2h:o,p:F}};$.n.23=4(2A){b 3=$.I({},t.1o.23.3),p;$.I(3,2A);p=c.a();b H=c,a=p.1s(),S=a.K(3.S),V=a.K(3.V),O=a.K(3.O),1l=a.K(3.1l),u=V.2w(S).2w(O).k({T:3.T}),g=p.2v(),r;4 Y(f){1l.1g();u.1v();g.1v();b 1j=f.Q("1T");b R=1B 1M();R.3E=4(){1l.1D();b C=$("#"+3.29,a);6(!C.L){C=$("<C/>").Q("2l",3.29).k("1Y","2p");a.2t(C)}C.Q("1U",1j).k("1Y","2p");b v=R.v;b z=($(Z).v()-v)/2;r=H.r(H.2i("[1T="+1j+"]"));H.22(3.1u).W(r).28(3.1u);b 1n=3.1V;u.22(1n);6(r===0){V.28(1n)}6(r==H.L-1){S.28(1n)}b 2z=3.2q.2b("${1x}",f.Q("1x")||f.1a("1x")).2b("${r}",r+1).2b("${2x}",H.L);b 2y=1L(O.k("3H"),10)+1L(O.k("3G"),10);O.2d(2z).k({v:v-2y});a.3k({v:v,x:R.x,z:z},3.1w,4(){C.1v().k("1Y","2S").1g(4(){6(!3.1K){u.1g();g.1Q()}})})};R.3J=4(){a.1g().2d("3I K R "+1j)};R.1U=1j;6(3.2h){H.2i(":W("+(r-1)+"), :W("+(r+1)+")").s(4(){b C=1B 1M();C.1U=$(c).Q("1T")})}}4 1W(f,2B){f.U(4(){6(f.3N(3.1V)){9}b j=H.W(i=r+(2B?1:-1));6(j.L){Y(j)}})}1W(S,o);1W(V);$(E).1f(4(D){6(!a.2X(":2S")||D.3M||D.3K){9}6(D.1i==37||D.1i==39){b 2U=D.1i==37?V:S;2U.U();9 D.2W()}9 o});4 1J(){6(!a.2X(":3r")){u.1Q();g.1Q()}}6(3.1K){a.3s(1J,4(){u.1D();g.1v()}).3p(1J)}b 1O;c.s(4(){b f=$(c),p=$(c).a(),1O=p;p.14(4(){Y(f)});p.J(4(){H.22(3.1u)})});9 3.p?1O:c}})(1N);(4($){$.B=$.B||{};$.B.m={1z:\'1.0.5\',3:{1b:M,2V:\'2E\',1F:\'2P\',12:o,1d:o,P:3l,T:0.8,1E:\'#3m\',p:F}};4 24(){6($.2u.2r){b d=$(E).x(),w=$(Z).x();9[Z.3n||E.3t.2H||E.2f.2H,d-w<20?w:d]}9[$(Z).v(),$(E).x()]}4 2M(u,3){b 7=c,$7=$(c),l=M,15=F,1h=0;$.s(3,4(q,n){6($.25(n)){$7.y(q,n)}});$(Z).3u(4(){7.2o()});$.I(c,{3A:4(){9 l},3B:4(){9 u},1y:4(){9 3},2G:4(){9 15},Y:4(e){6(15){9 7}1h=u.W(0).k("P");6(3.1b){l=$("#"+3.1b)}6(!l||!l.L){b 11=24();l=$(\'<2a/>\').k({1G:\'1c\',A:0,z:0,v:11[0],x:11[1],2O:\'3v\',T:0,P:3.P});6(3.1b){l.Q("2l",3.1b)}$("2f").3w(l);b 1t=l.k("2g");6(!1t||1t==\'3x\'||1t==\'3F(0, 0, 0, 0)\'){l.k("2g",3.1E)}6(3.1d){$(E).y("1f.2R",4(D){6(D.1i==27){7.g()}})}6(3.12){l.y("U.2R",4(e){7.g(e)})}}e=e||$.1A();e.G="14";$7.j(e);6(e.1C()){9 7}$.s(u,4(){b f=$(c);6(!/2L|1c|3y/i.3z(f.k("1G"))){f.k("1G","2L")}});u.k({P:26.1P(3.P+1,1h==\'3o\'?0:1h)});b h=l.x();6(!c.2G()){l.k({T:0,2O:\'3D\'}).3C(3.2V,3.T,4(){6(l.x()!=h){l.k("x",h)}e.G="13";$7.j(e)})}15=o;9 7},g:4(e){6(!15){9 7}e=e||$.1A();e.G="1k";$7.j(e);6(e.1C()){9 7}l.1D(3.1F,4(){e.G="J";$7.j(e);u.k({P:$.2u.2r?1h:M})});15=F;9 7},2o:4(){6(l){b 11=24();l.k({v:11[0],x:11[1]})}},y:4(q,n){$7.y(q,n);9 7},X:4(q){$7.X(q);9 7}});$.s("14,13,1k,J".2m(","),4(i,17){7[17]=4(n){9 7.y(17,n)}})}$.n.m=4(3){b f=c.W(1m 3==\'2s\'?3:0).1a("m");6(f){9 f}6(1m 3==\'1X\'){3={1E:3}}b 1H=$.I({},$.B.m.3);3=$.I(1H,3);c.s(4(){f=1B 2M($(c),3);$(c).1a("m",f)});9 3.p?f:c}})(1N);',62,236,'|||conf|function||if|self||return|overlay|var|this|||el|close|||trigger|css|mask|expose|fn|true|api|name|index|each||els|width||height|bind|left|top|tools|img|evt|document|false|type|links|extend|onClose|find|length|null|closers|info|zIndex|attr|image|next|opacity|click|prev|eq|unbind|load|window||size|closeOnClick|onLoad|onBeforeLoad|loaded|instances|ev|isOpened|effect|data|maskId|absolute|closeOnEsc|opened|keydown|fadeIn|origIndex|keyCode|url|onBeforeClose|progress|typeof|cls|plugins|Overlay|effects|jq|getOverlay|bg|activeClass|hide|speed|title|getConf|version|Event|new|isDefaultPrevented|fadeOut|color|closeSpeed|position|globals|ex|showEls|autohide|parseInt|Image|jQuery|ret|max|show|eff|allClosed|href|src|disabledClass|addClick|string|visibility|target||center|removeClass|gallery|viewport|isFunction|Math||addClass|imgId|div|replace|strong|html|closeFn|body|backgroundColor|preload|filter|loadFn|span|id|split|onStart|fit|hidden|template|msie|number|prepend|browser|getClosers|add|total|padd|text|opts|isNext|oHeight|margin|slow|oWidth|isLoaded|clientWidth|oneInstance|addEffect|default|relative|Expose|throw|display|fast|et|unexpose|visible|call|btn|loadSpeed|preventDefault|is|not|ow_prev|ow_next|ow_info|ow_progress|rel|ow_disabled|Could|normal||100||getContent|class|scrollTop|parents|outerHeight|getTrigger|scrollLeft|push|outerWidth|cannot|animate|9998|456|innerWidth|auto|mousemove|active|animated|hover|documentElement|resize|none|append|transparent|fixed|test|getMask|getExposed|fadeTo|block|onload|rgba|paddingRight|paddingLeft|Cannot|onerror|ctrlKey|of|altKey|hasClass'.split('|'),0,{})) 
  • overlay4wp/trunk/languages/default.po

    r168918 r175260  
    9797msgstr "" 
    9898 
     99#: overlay4WP.php:400 
     100msgid "Background colour.Example:#CCCCCC" 
     101msgstr "" 
     102 
     103 
    99104#: overlay4WP.php:362 
    100105msgid "prev" 
  • overlay4wp/trunk/languages/overlay4WP-zh_CN.po

    r168918 r175260  
    9696msgstr "快" 
    9797 
     98#: overlay4WP.php:400 
     99msgid "Background colour.Example:#CCCCCC" 
     100msgstr "背景颜色,例如:#CCCCCC" 
     101 
    98102#: overlay4WP.php:362 
    99103msgid "prev" 
  • overlay4wp/trunk/overlay4WP.php

    r169584 r175260  
    44Plugin URI: http://wordpress.org/extend/plugins/overlay4wp/ 
    55Description: This plugin allows you easily to make <a href="http://flowplayer.org/tools/demos/overlay/gallery.html">Overlay gallery</a> popups on WordPress.Modify on <a href="http://wordpress.org/extend/plugins/highslide4wp/">Highslide4WP</a>. 
    6 Version: 1.0.2 
     6Version: 1.0.3 
    77Overlay Version: tools.overlay 1.1.2 + Overlay Gallery plugin + tools.overlay "Apple Effect" 1.0.1 
    88Author: bolo 
     
    214214            $options['jquery_url'] = ''; 
    215215            $options['switch_speed'] = '500'; 
     216            $options['ow_bgc'] = '#CCCCCC'; 
    216217            update_option('overlay4WP_options', $options); 
    217218        } 
     
    226227            $options['jquery_url'] = stripslashes($_POST['jquery_url']); 
    227228            $options['switch_speed'] = stripslashes($_POST['switch_speed']); 
     229            $options['ow_bgc'] = stripslashes($_POST['ow_bgc']); 
    228230 
    229231            update_option('overlay4WP_options', $options); 
     
    281283                <input name="switch_speed" type="radio" value="800" <?php if($options['switch_speed'] == '800') echo "checked='checked'"; ?> /> 
    282284                 <?php _e('Fast', 'overlay4wp'); ?> 
     285            </label><br/> 
     286            <label> 
     287                 <?php _e('Background colour.Example:#CCCCCC', 'overlay4wp'); ?> 
     288                <input name="ow_bgc" type="text" value="<?php echo($options['ow_bgc']); ?>" maxlength="7" /> 
    283289            </label> 
    284290        </td> 
     
    298304        <table class="form-table"> 
    299305            <tbody> 
     306                <tr valign="top"> 
     307                    <th scope="row">Twitter</th> 
     308                    <td> 
     309                        Follow <a href="http://twitter.com/bolo123/" target="_blank">bolo123</a> on Twitter. 
     310                    </td> 
     311                </tr> 
    300312                <tr valign="top"> 
    301313                    <th scope="row">Donation</th> 
     
    393405    $script_footer .= "\n" . 'jQuery(function() {'; 
    394406    $script_footer .= "\n" . 'jQuery("a[rel*=\'gallery\']").overlay({'; 
    395     $script_footer .= "\n" . 'target: "#gallery"'; 
     407    $script_footer .= "\n" . 'target: "#gallery",'; 
     408    if ($options['ow_bgc'] != '') { 
     409        $script_footer .= "\n" . 'expose: "' . $options['ow_bgc'] . '",'; 
     410    } 
    396411    $script_footer .= "\n" . '}).gallery({'; 
    397412    $script_footer .= "\n" . 'speed: ' . $g_speed; 
  • overlay4wp/trunk/readme.txt

    r169745 r175260  
    3838== Screenshots == 
    3939 
    40 [screenshot-1](screenshot-1.gif) 
     40`/screenshot-1.gif` 
    41411.   Insert a image overlay effect when writting article. 
    4242      在写文章时插入图片overlay效果。 
     
    4848 
    4949    VERSION DATE       TYPE   CHANGES 
     50    1.0.3     2009/11/19  NEW   Custom background colour. 
    5051    1.0.2     2009/11/2  FIX   Enhance compatibility. 
    5152                                     NEW   Optimize overlay4wp.css. 
Note: See TracChangeset for help on using the changeset viewer.