I have incorporated a pop-up tooltip from the following link:
This feature enables a message to appear whenever I mouse-over a [?] sign.
The script is structured as follows:
<a href="#" class="hintanchor" onMouseover="showhint('Please choose a username. Should consist of alphanumeric characters only.', this, event, '150px')">[?]</a>
Within this structure, I am required to input the text that will be displayed in the popup within the showhint
function.
However, I encounter an issue when trying to display a large amount of text (equivalent to half a page of a Word document) with line breaks between paragraphs.
When I attempt to include this chunk of text within the first parameter of the showhint function, it does not work as intended.
Could anyone advise me on how to configure the tooltip to exhibit my lengthy message appropriately with necessary line breaks?
Thank you!