diff --git a/README.md b/README.md index 401453d..eb698a6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ -# jquery-tooltip Unofficial clone of jquery-tooltip for use with bower + +http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ + +jQuery plugin: Tooltip + + +This plugin is no longer supported. Use the jQuery UI Tooltip widget instead. + + +The jQuery Tooltip plugin let’s you transform native tooltip’s into customizable overlays. You can adjust their content, position and appearance. + +Current version: 1.3 +Compressed filesize: 3910 bytes +License: MIT/GPL + diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 0000000..dfc876b --- /dev/null +++ b/changelog.txt @@ -0,0 +1,38 @@ +1.3 +--- + +* Added fade option (duration in ms) for fading in/out tooltips; IE <= 6 is excluded when bgiframe plugin is included +* Fixed imagemaps in IE, added back example +* Added positionLeft-option - positions the tooltip to the left of the cursor +* Remove deprecated $.fn.Tooltip in favor of $.fn.tooltip + +1.2 +--- + +* Improved bodyHandler option to accept HTML strings, DOM elements and jQuery objects as the return value +* Fixed bug in Safari 3 where to tooltip is initially visible, by first appending to DOM then hiding it +* Improvement for viewport-border-positioning: Add the classes "viewport-right" and "viewport-bottom" when the element is moved at the viewport border. +* Moved and enhanced documentation to docs.jquery.com +* Added examples for bodyHandler: footnote-tooltip and thumbnail +* Added id option, defaults to "tooltip", override to use a different id in your stylesheet +* Moved demo tooltip style to screen.css +* Moved demo files to demo folder and dependencies to lib folder +* Dropped image map example - completely incompatible with IE; image maps aren't supported anymore + +1.1 +--- + +* Use bgiframe-plugin if available +* Use dimensions-plugin to calculate viewport +* Expose global blocked-property via $.Tooltip.blocked to programmatically disable all tooltips +* Fixed image maps in IE by setting the alt-attribute to an empty string +* Removed event-option (only hover-tooltips now) +* Simplified event-handling (using hover instead of mouseover und mouseout) +* Added another "pretty" example +* Added top and left options to specify tooltip offset +* Reworked example page: New layout, code examples + +1.0 +--- + +* first release considered stable \ No newline at end of file diff --git a/demo/bg.gif b/demo/bg.gif new file mode 100644 index 0000000..846add0 Binary files /dev/null and b/demo/bg.gif differ diff --git a/demo/chili-1.7.pack.js b/demo/chili-1.7.pack.js new file mode 100644 index 0000000..d6ddc0e --- /dev/null +++ b/demo/chili-1.7.pack.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,d){e=function(c){return(c35?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;}('8={3b:"1.6",2o:"1B.1Y,1B.23,1B.2e",2i:"",2H:1a,12:"",2C:1a,Z:"",2a:\'$$\',R:"&#F;",1j:"&#F;&#F;&#F;&#F;",1f:"&#F;<1W/>",3c:5(){9 $(y).39("1k")[0]},I:{},N:{}};(5($){$(5(){5 1J(l,a){5 2I(A,h){4 3=(1v h.3=="1h")?h.3:h.3.1w;k.1m({A:A,3:"("+3+")",u:1+(3.c(/\\\\./g,"%").c(/\\[.*?\\]/g,"%").3a(/\\((?!\\?)/g)||[]).u,z:(h.z)?h.z:8.2a})}5 2z(){4 1E=0;4 1x=x 2A;Q(4 i=0;i\';8.N[X]=1H;7($.31.34){4 W=J.1L(Y);4 $W=$(W);$("2d").1O($W)}v{$("2d").1O(Y)}}}5 1q(e,a){4 l=e&&e.1g&&e.1g[0]&&e.1g[0].37;7(!l)l="";l=l.c(/\\r\\n?/g,"\\n");4 C=1J(l,a);7(8.1j){C=C.c(/\\t/g,8.1j)}7(8.1f){C=C.c(/\\n/g,8.1f)}$(e).38(C)}5 1o(q,13){4 1l={12:8.12,2x:q+".1d",Z:8.Z,2w:q+".2u"};4 B;7(13&&1v 13=="2l")B=$.35(1l,13);v B=1l;9{a:B.12+B.2x,1p:B.Z+B.2w}}7($.2q)$.2q({36:"2l.15"});4 2n=x 1u("\\\\b"+8.2i+"\\\\b","2j");4 1e=[];$(8.2o).2D(5(){4 e=y;4 1n=$(e).3i("V");7(!1n){9}4 q=$.3u(1n.c(2n,""));7(\'\'!=q){1e.1m(e);4 f=1o(q,e.15);7(8.2H||e.15){7(!8.N[f.a]){1D{8.N[f.a]=1H;$.3v(f.a,5(M){M.f=f.a;8.I[f.a]=M;7(8.2C){2B(f.1p)}$("."+q).2D(5(){4 f=1o(q,y.15);7(M.f==f.a){1q(y,M)}})})}1I(3s){3t("a 3w Q: "+q+\'@\'+3z)}}}v{4 a=8.I[f.a];7(a){1q(e,a)}}}});7(J.1i&&J.1i.29){5 22(p){7(\'\'==p){9""}1z{4 16=(x 3A()).2k()}19(p.3x(16)>-1);p=p.c(/\\<1W[^>]*?\\>/3y,16);4 e=J.1L(\'<1k>\');e.3l=p;p=e.3m.c(x 1u(16,"g"),\'\\r\\n\');9 p}4 T="";4 18=1G;$(1e).3j().G("1k").U("2c",5(){18=y}).U("1M",5(){7(18==y)T=J.1i.29().3k});$("3n").U("3q",5(){7(\'\'!=T){2p.3r.3o(\'3p\',22(T));2V.2R=1a}}).U("2c",5(){T=""}).U("1M",5(){18=1G})}})})(1Z);8.I["1Y.1d"]={k:{2M:{3:/\\/\\*[^*]*\\*+(?:[^\\/][^*]*\\*+)*\\//},25:{3:/\\