Yep your right, and it add even more flexibility to TooltipX.
Quote from: laurentc at Mar 21, 2007, 12:10 PMits made for me to fill and I understand
good job ! works find !... but not very friendly user
its a bit friendly by using the config string you get 2 fields 1 for the words to find and one for the replacment string the ToolTipX without the {= =} tags.
maybe someone can make it more user friendly, for now this does the job for me.
Greets Dimmy

An other time your are right... I was thinking to use it, but I dont know exactly how to use $modx->regClientStartupScript($src)
This line $o .= $includetooltipJs.$includeScriptJs ; messes up my css
I use internal css files , (documents as css) mabe using the $modx->regClientStartupScript($src); would be beter?

.
Than, in the content field of your documents put something like this {=NATO:North Atlantic Treaty Organisation:=} to create a tooltips
=> {=Text on the page:Tooltip text to be display:Link(optional)=}
<a href="link.html" title="{=NATO:North Atlantic Treaty Organisation:=} "> TooltipsX shows here</a>

//for tooltips ONLY applied to this tag : {=text:tiptext:link=}
&onlyTips=Only tips;int;1
TooltipX is not working in IE when you use this option:
//for tooltips ONLY applied to this tag : {=text:tiptext:link=} &onlyTips=Only tips;int;1
in FF it works fine but ie6 and ie7 it does not work it generates the link just fine including the css for the links but the bulb never apears on screen.
in the all items mode all the links work exept for the one that was generated with the extra class name class="infobulle" again in IE ofcource. something in the JS does not work in IE.
Dimmy
Quote from: chinesedream at Mar 26, 2007, 03:03 AM
<a href="link.html" title="{=NATO:North Atlantic Treaty Organisation:=} "> TooltipsX shows here</a>
Hi chinesedream
You dont have to put any <a> tag, TooltipX will generate the right tags link automatically
e.g : if you want to have this : <a href="link.html" title="tips to be diplayed "> TooltipsX shows here</a>
then only put in your page : {=TooltipsX shows here:tips to be diplayed:link.html=}
Is one of the TooltipX function (to be used with the "&onlyTips=Only tips;int;1" parameter), but if you just want to display tool tips for evry links in your page use the "&contentId=Id of your content;string;" parameter with the name of your div tag content
At last, if you want to choose, in the manager, a words list to be used with TooltipX, use the Dimmy extra tooltipXWordReplace
Hope that helps
I still can’t get it working. The one in ’title’ that I mentioned in my message shows this: