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=" | + | <span class="jrIconInfo jr-more-info"></span><div class="jrPopup jrHidden">Tooltip text goes here</div> |
+ | |||
</source> | </source> | ||
Latest revision as of 04:04, 4 July 2013
Edit the theme file of the submit form:
- \com_jreviews\jreviews\views\themes\default\listings\create_form.thtml
Use this code to include a tooltip:
<span class="jrIconInfo jr-more-info"></span><div class="jrPopup jrHidden">Tooltip text goes here</div>
Add the code inside the <label> tag of any form field