
- #HOVER TEXT HOW TO#
- #HOVER TEXT UPDATE#
- #HOVER TEXT FULL#
- #HOVER TEXT CODE#
Quotation marks should be avoided within your tool tip text as they are a reserved character in HTML code.works best with 140 characters or less. If you wish to use more than 140 characters we recommend using Text / Instruction Elements, Page Descriptions or linking to a document with definitions and explanations.may still require some tweaking to get it right depending on your theme and where in the survey you are using these tips.not supported on answer options utilizing click & drag functionality:.only supported in survey themes built with the new theme builder.This workaround works for most of our customers in most cases but it is not a one-size-fits-all solution. We do not have a built-in feature for hover-over tool tips. Do this before you click Done in the step below.
#HOVER TEXT CODE#
Click Source a second time to exit the source code editor. Next, click on the Source button and paste your HTML code into the Option Title field. On the next screen, click into the Option Title field and click on the. Edit the answer option via the associated pencil icon. When adding tooltips to answer options (available for styled tooltips only), follow these steps: #HOVER TEXT HOW TO#
Finally, if you are using tooltips, we recommend adding instructions for how to use them at the beginning of your survey.īest Practice: Adding Tooltips to Answer Options. Why we ask thisMany funders want to know the populations we serve broken down by things like education level, ethnicity, and economic status.
In our example we end up with the code below:
Next replace the text between the span tags with the info you wish to provide on hover/click. In our above example we used "Why we ask this." This could also just be a ? at the end of a term if you wish. Next, you need to customize the various pieces of the code:. Paste the copied code wherever you would like to place your tool tip. #HOVER TEXT FULL#
Click the Full Mode icon on the editor toolbar. Tooltip TextThis is the text that will display in the tooltip pop-up. sg-type-checkbox ul.sg-list-vertical li, *** Tooltips! ***/īorder-bottom: 1px dotted īackground-color: īorder: 1px solid If you wish you can customize the colors of your tooltip by changing hex codes for the color and border highlighted in red below. Paste the below CSS on the Custom CSS tab. Scroll to the bottom of the survey preview to access the link to the HTML/CSS Editor. These are required for the tooltips to work. Start by adding the styles for the tooltips to the theme of your survey. within text/instruction elements, question instructions, answer options, etc. You can take this code and apply it throughout your survey, e.g. In this example we'll be setting up a hover-over tooltip within the question text. #HOVER TEXT UPDATE#
Paste in the copied code and update the text to meet your needs. Then click the Source icon on the editor toolbar. * The Layout tab is not available at all plan levels, however this solution can be implemented on the Question tab as part of the question text. Click into the Additional Instructional Text field and then click the Full Mode icon on the editor toolbar. To set this up edit your question and go to the Layout* tab. In our example, we are adding the instructional text to the Additional Instructional Text field under the Layout tab so the tip is not included in question titles in Reports and Exports. Next, edit the text instructions or question title where you want to include the hover-over tooltip. This basic tooltip can be added to question text and Text/Instructions ONLY. If you wish to include tooltips in your answer options see Option 2 below. In this example, we are also demonstrating another survey best practice providing respondents information as to why survey questions that could be considered sensitive are being asked. This way, the respondent can access the text if they need it but is otherwise hidden from display. Using this handy trick, you can provide respondents hover-over tooltips throughout your survey with definitions and explanatory text. Trouble is, too much text can be fatiguing. Add a survey with tooltips to your account!Īdding explanatory text to a survey to ensure your respondents are on the same page is an excellent survey best practice. A one second transition for the opacity of the.
hovertext:before is used to improve the aesthetics of the hover text: The visibility will be changed to visible when the user hovers over the. hovertext:before is set to hidden to hide the text.
hovertext:before will be placed relative to the. hovertext position property is changed to relative so that the. The absolute element will be positioned relative to the closest container tag with the position:relative value. hovertext:before selector is set to absolute so that it can be displayed outside of the document flow. The content of the hovertext:before element will be derived from the data-hover attribute as specified in the selected element.įirst, the position property of the.