Difference between revisions of "How to add a tooltip for a standard form field like Title, Name, E-mail"
From JReviews Documentation
Line 5: | Line 5: | ||
Use this code to include a tooltip: | Use this code to include a tooltip: | ||
<source lang="php"> | <source lang="php"> | ||
− | <span class="jr_infoTip" | + | <span class="jr_infoTip"> </span><div class="jr_tooltipBox">This is some tooltip text</div> |
</source> | </source> | ||
Revision as of 14:19, 23 August 2011
Edit the theme file of the submit form:
- \com_jreviews\jreviews\views\themes\{theme_name}\listings\create_form.thtml
Use this code to include a tooltip:
<span class="jr_infoTip"> </span><div class="jr_tooltipBox">This is some tooltip text</div>
Add the code inside the <label> tag of any form field