Welcome, Guest
Username: Password: Remember me

TOPIC: Hover over functionality

Hover over functionality 4 months 4 days ago #108937

  • scadoots
  • scadoots's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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!
The administrator has disabled public write access.

Hover over functionality 4 months 2 days ago #109041

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6338
  • Thank you received: 819
  • Karma: 243
Hi

Quick exemple :
<span title="The définition">word</span>
Last Edit: 4 months 2 days ago by DenisChenu.
The administrator has disabled public write access.

Hover over functionality 4 months 2 days ago #109060

  • scadoots
  • scadoots's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Thanks! Is this something I can add to the answer choices or just the question?
The administrator has disabled public write access.

Hover over functionality 3 months 3 weeks ago #109340

  • scadoots
  • scadoots's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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.
The administrator has disabled public write access.

Hover over functionality 3 months 3 weeks ago #109425

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6338
  • Thank you received: 819
  • Karma: 243
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);
});
});
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.112 seconds
Donation Image