3 Star 0 Fork 1

Gitee 极速下载/html5tooltips-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/ytiurin/html5tooltipsjs
克隆/下载
html5tooltips.0.7.min.js 3.93 KB
一键复制 编辑 原始数据 按行查看 历史
unknown 提交于 11年前 . Update home url
/**
* html5tooltips.js v0.7
* Light and clean tooltips.
* https://github.com/ytiurin/html5tooltipsjs
*
* Yevhen Tiurin <yevhentiurin@gmail.com>
* The MIT License (MIT)
* http://opensource.org/licenses/MIT
*
* Minified by Dean Edwards Packer
* http://dean.edwards.name/packer/
*
* April 10, 2014
**/
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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(){9 f,o,k,E={T:"",v:"",1P:"1Q",r:[],15:""},s={1l:["<7 p=\'j\' 5=\'1m-1R:1S-1m;1T:1U;\'>","<7 p=\'j-w\'></7>","<7 p=\'j-16\' 5=\'1V:1W;1X:x 0.1Y;\'>","<7 p=\'j-1Z\'></7>","<7 p=\'j-w\'></7>","</7>","<7 p=\'j-1n\'><7 p=\'j-20\'></7><7 p=\'j-21\'></7></7>","</7>"].22(""),y:{F:\'j\',1o:\'j-w\',1p:\'j-16\',1q:\'j-w\',1r:\'j-1n\'}};3 1s(a){6 1t.1u.23.24(a)}3 1v(a,b){9 c=[];1w{9 d=m.25(a,(b||m),q,26.27,q);U(9 e=d.1x();e;e=d.1x())c.G(e)}1y(1z){}6 c}3 1A(a,b){9 c=[];1w{c=1s((b||m).28(a))}1y(1z){}6 c}3 1B(a,b){9 c=(b||m).29(\'*\'),17=[];U(9 i=0,V;V=c[i];i++){4(V.18(a))17.G(V)}6 17}3 H(a){U(9 i=1;i<I.W;i++){4(1C I[i]==="1D"){U(9 b 2a I[i]){4(I[i].2b(b)){a[b]=I[i][b]}}}}6 a}3 1E(){9 b,g,z,19,8,1a,1b;3 1c(){m.2c(b)}3 A(){4(b.5.n!==\'1d\')b.5.n=\'1d\';4(8.5.J!==\'1F\'){8.5.J=\'1F\';8.5.n=\'1d\';8.5.x=\'X\'}6 l}3 Y(){m.2d.1e+=s.1l;b=m.K(s.y.F)[0];19=b.K(s.y.1o)[0];8=b.K(s.y.1p)[0];1a=8.K(s.y.1q)[0];1b=b.K(s.y.1r)[0];A();g=H({},E)}3 L(a){4(!a)6 g;4(g!==a){g=H({},E,a);1G()}6 l}3 Z(){4(b.5.n!==\'B\')b.5.n=\'B\';t();6 l}3 11(){4(b.5.n!==\'B\'){b.5.n=\'B\';4(g.v){8.5.J=\'1f\';8.5.n=\'B\'}t()}1H 4(8.5.J!==\'1f\'&&g.v){8.5.J=\'1f\';t();9 h=8.13().x;8.5.n=\'B\';8.5.x=\'2e\';1I(3(){8.5.x=h>0?h+\'M\':"X"},2f)}6 l}3 N(a){4(!a)6 z;4(z!==a){z=a}6 l}3 t(){9 a,C;4(!z)6;b.5.D="X";C=b.13();4(g.1g)b.5.D=C.D>g.1g?g.1g+"M":"X";a=z.13();C=b.13();b.5.1h=a.1h+(a.D-C.D)/2+"M";b.5.1J=a.1J+a.x+10+"M";1b.5.1h=2g((C.D-12)/2)+"M"}3 1G(){19.1e=g.T?g.T:"";1a.1e=g.v?g.v:""}Y();6{1c:1c,A:A,L:L,11:11,Z:Z,N:N,t:t}}3 1K(){9 b=1B("1i-F-w");b.1j(3(a){o.G(H({},E,{T:a.18("1i-F-w"),v:a.18("1i-F-16"),r:[a]}))})}3 1k(){f.t()}3 Y(){f=1E();k={O:q,P:q};1K();o.1j(3(c,i){c=H({},E,c);4(!c.r.W&&c.1L)c.r=1A(c.1L);4(!c.r.W&&c.15)c.r=1v(c.15);c.r.1j(3(b){b.u("2h",3(){9 a=l;4(k.P===a||k.O!==q)6;k.P=a;f.N(l).L(c);1I(3(){4(k.P===a)f.Z()},2i)});b.u("2j",3(){k.P=q;4(k.O!==q)6;f.A()});b.u("2k",3(){4(["2l","2m"].2n(l.2o)===-1)6;k.O=l;f.N(l).L(c);f.11()});b.u("2p",3(){k.O=q;f.A()})});o[i]=c})}3 14(a){4(!o)o=[];4(a.W)1t.1u.G.2q(o,a);1H 4(1C a==="1D")o.G(a)}3 Q(){m.1M("1N",Q,R);S.1M("1O",Q,R);Y()}m.u("1N",Q,R);S.u("1O",Q,R);S.u("1k",1k,R);4(S.14===2r)S.14=14})();',62,152,'|||function|if|style|return|div|elMore|var|||||||ttModel|||html5tooltip|activeElements|this|document|visibility|tModels|class|null|targetElements|template|updatePos|addEventListener|contentMore|text|height|hookClasses|targetElement|hideAll|visible|ttRect|width|typeTooltipModel|tooltip|push|extend|arguments|display|getElementsByClassName|model|px|target|focused|hovered|completed|false|window|contentText|for|node|length|auto|init|showBrief||showAll||getBoundingClientRect|html5tooltips|targetXPath|more|nodes|getAttribute|elText|elMoreText|elPointer|destroy|collapse|innerHTML|block|maxWidth|left|data|forEach|scroll|HTML|box|pointer|tooltipText|tooltipMore|tooltipMoreText|tooltipPointer|toArray|Array|prototype|getElementsByXPath|try|iterateNext|catch|exc|getElementsBySelector|getElementsByAttribute|typeof|object|Tooltip|none|updateModel|else|setTimeout|top|pickDocumentDataTargets|targetSelector|removeEventListener|DOMContentLoaded|load|stickTo|bottom|sizing|border|position|fixed|overflow|hidden|transition|3s|hr|pi|po|join|slice|call|evaluate|XPathResult|ANY_TYPE|querySelectorAll|getElementsByTagName|in|hasOwnProperty|removeChild|body|0px|100|parseInt|mouseover|500|mouseout|focus|INPUT|TEXTAREA|indexOf|tagName|blur|apply|undefined'.split('|'),0,{}))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/html5tooltips-js.git
git@gitee.com:mirrors/html5tooltips-js.git
mirrors
html5tooltips-js
html5tooltips-js
master

搜索帮助