Clickable Tooltips in jQuery UI

I had the unfortunate experience recently of seeing a very old script for limited tooltips used in a production e-commerce site. It’s not that I have anything in particular against Dynamic Drive (that’s basically Stop #1 on the “Where did I learn JavaScript?” memory train…) but this production site was already using jQuery UI, and it took me all of 1 hour to find helpful partial solutions to the clickable tooltip problem.

Another 15 minutes of fiddling, and you can see my complete solution here: http://jsfiddle.net/abbylangner/XHb4Z/.

The primary issue that sent me searching for another solution was the requirement for links and other dynamic, clickable content within the tooltip. An answer from StackOverflow got me started. It just needed a little extra tweaking to make it reusable for the variety of custom tooltips on our page.

Leave a Reply