drewwilson / TipTip

Intelligent ToolTip jQuery Plugin
http://code.drewwilson.com/entry/tiptip-jquery-plugin
124 stars 70 forks source link

Hey #1

Closed HazAT closed 7 years ago

HazAT commented 13 years ago

I already wrote you an email about my changes ... but here again my old email from 18. Jun


Hello Drew

First... Thanks for you nice litte jQuery Plugin ;)

I don't know if you still maintenance Tiptip but i needed a functionallity which wasn't included. To keep it simple I just added an option called "executeOnInitialization" which calls active_tiptip(); Now its possible to dynamiclly bind tiptip with jQuery "live" or "delegate" and show it when tiptip is created. Before you had to hover twice to see the tiptip.

Maybe it's a litte thing for your next release.

Example:

$("body").delegate("span","mouseenter",function() { $(this).tipTip({ edgeOffset: 5, defaultPosition:"top", executeOnInitialization:true });

});

Now I made an Fork an inserted it.