Hover over functionality

More
3 years 1 month ago #108937 by scadoots
scadoots created the topic: Hover over functionality
Hi,

I'd like to add hover over functionality to a survey that I'm building. Basically I'd like a respondent to be able to hover over a word and see its definition. Is that possible? Thanks!

Please Log in to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #109041 by DenisChenu
DenisChenu replied the topic: Hover over functionality
Hi

Quick exemple :
<span title="The définition">word</span>

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 3 years 1 month ago by DenisChenu.

Please Log in to join the conversation.

More
3 years 1 month ago #109060 by scadoots
scadoots replied the topic: Hover over functionality
Thanks! Is this something I can add to the answer choices or just the question?

Please Log in to join the conversation.

More
3 years 1 month ago #109340 by scadoots
scadoots replied the topic: Hover over functionality
Hi,

I'd like to add hover over functionality to both the questions and the answers. Would it be possible to get more thorough instruction? We do not have the most recent version of LimeSurvey so that may be another constraint.

If hover functionality does not exist, is there a way to link to a document or a website? I'm trying to show definitions to specific terms in both the question and answer.

Please Log in to join the conversation.

More
3 years 4 weeks ago #109425 by DenisChenu
DenisChenu replied the topic: Hover over functionality
The title system is the quick way.

After you can use jquery.hover ,

A quick example for template.js (really quick)
$(function() {
$(".question-help").hide();
$(".question-text").hover(function(){
$(this).parent(".question-wrapper").find(".question-help").slideDown(800);
}, function() {
$(this).parent(".question-wrapper").find(".question-help").slideUp(800);
});
});

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now