• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 How to use Tooltips Core for custom tooltips

uf4b

New member
#1
Hello,
I wanted to know how to use the included core js functions to handle tooltips.
I found there is a tooltip.js file , and there are different options to choose from.. Preview , Basic , Element etc..

I need to display custom html not just an inline text.
For simple inline texts adding data-xf-init="tooltip" and a title="" attribute on my element, it works..
But how can I display a content from a unique div for example ?

Thanks in advance..