Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8549203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:40:25+00:00 2026-06-11T13:40:25+00:00

I am creating a website with a rather lengthy medical questionnaire. The users/patients need

  • 0

I am creating a website with a rather lengthy medical questionnaire. The users/patients need to be able to hover or click on a medical term and see the definition.

What are ways to accomplish this in RoR? There are similar plugins for WordPress, but I haven’t found any in Rails.

My idea is have a Term model, that has attributes “word” and a “definition”. Then in my layouts, I have to somehow scan the page and output the definition.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:40:27+00:00Added an answer on June 11, 2026 at 1:40 pm

    There are multiple approaches. I use jquery-tooltip. I’m in the same boat, instead of medical forms in my case it’s insurance forms.

    I checked out a few different approaches. I really like the tooltip feature coming soon to jquery-ui 1.9. Until it’s officially released, I’m using jquery-tooltip.

    They both work the same, give an element a title:

    <div id='q12', title='This is number 12'>
       What is this?
    </div>
    

    Then

    $('#q12').tooltip
    

    If the only reason you ever give your elements a Title is to create a tooltip, then you can just use something like:

        $("[title]").tooltip({ position: "center left", predelay:500 });
    

    Then every element with a title defined will show your stylized tooltip when the element is hovered over.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a PHP website which involves users signing up, and I'm wondering about
I am working on creating website with Yii framework and I have a problem
When creating a website using Asp.Net and using controls such as the ListView is
I'm creating a website and as I am thoroughly enjoying using SASS/Compass for organizing
I am creating a website for teaching some arabic words. I am including numbers,
I am creating a website for funny images. Those images are stored in a
I am creating a website that uses W3C Geolocation API and position.timestamp for timestamp.
I am creating a website. It has a database and I'm trying to work
I'm creating a website and I want it also to be prepare for mobile
I am creating a website with four textarea forms. Each form has a word

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.