Tooltip in LimeSurvey 2.5+

More
7 months 6 days ago #150078 by Dennis
Dennis created the topic: Tooltip in LimeSurvey 2.5+
Hi, how to use a tooltip (text appearing with a mouseover) in the new LimeSurvey 2.5 default theme?
Previous solutions described work only on the non-responsive old themes.

Thanks!

Please Log in to join the conversation.

More
7 months 6 days ago #150082 by jelo
jelo replied the topic: Tooltip in LimeSurvey 2.5+
Perhaps you can some ideas from this thread:
www.limesurvey.org/community/forums/can-...roposing-information

Please Log in to join the conversation.

More
7 months 6 days ago #150087 by LouisGac
LouisGac replied the topic: Tooltip in LimeSurvey 2.5+
new themes use Bootstrap, so:
getbootstrap.com/javascript/#tooltips

Please Log in to join the conversation.

More
7 months 6 days ago #150088 by jelo
jelo replied the topic: Tooltip in LimeSurvey 2.5+

LouisGac wrote: new themes use Bootstrap, so:
getbootstrap.com/javascript/#tooltips

Since you mention the plugins shipped with Bootstrap is LimeSurvey offering only a selection?
I tried to use popovers, which seem not working out of the box (which is the case with tooltips)
getbootstrap.com/javascript/#popovers

I tried them both on Demo.limesurvey.org today again.

Please Log in to join the conversation.

More
7 months 6 days ago #150089 by LouisGac
LouisGac replied the topic: Tooltip in LimeSurvey 2.5+
getbootstrap.com/javascript/#popovers

For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.

One way to initialize all popovers on a page would be to select them by their data-toggle attribute:

$(function () {
  $('[data-toggle="popover"]').popover()
})
 

Please Log in to join the conversation.

More
7 months 6 days ago #150097 by jelo
jelo replied the topic: Tooltip in LimeSurvey 2.5+

LouisGac wrote: For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.

Thanks for pointing that out.I didn't initialized anything and still got Tooltip working. So it seems already initialized somewhere in the code (at least at Demo.limesurvey.org).

Popover was not initialized. Sorry for not checking that, was fooled by the working tooltip.
The following user(s) said Thank You: LouisGac

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now