Hi,
having tried ALL the tooltip plugins for a finance glossary, I've seen this is the nicest and simplier to use. Thanks Tomas!
I add a tip.
I had to highlight only the 1st occurance of the page/article, because of words repetition.
in the tooltips.php page:
{ $content = preg_replace("/(\W)(".$m_keyword.")(?![^<|^\[]*[>|\]])(\W)/is","\\1"."<span class='classtoolTips$m_keyword_id' style='border-bottom:2px dotted #888;'>"."\\2"."</span>"."\\3",$content); }
I added 1 after the content:
{ $content = preg_replace("/(\W)(".$m_keyword.")(?![^<|^\[]*[>|\]])(\W)/is","\\1"."<span class='classtoolTips$m_keyword_id' style='border-bottom:2px dotted #cc0000;'>"."\\2"."</span>"."\\3",$content, 1);}