Page 1 of 1

Added [tip=][/tip] BBCode for your posts

Posted: May 27th, 2018, 2:58 pm
by jsmorley
We have added a new BBCode to allow you set a "tooltip" on selected text in your posts. The selected text will get a dashed underline, and the tip text you define will be displayed when you hover over the selected text.

You use it like:

Code: Select all

[tip='Charge of the Light Brigade' by Alfred Lord Tennyson]Cannon to the left of them, cannon to the right of them, volleyed and thundered.[/tip]
Cannon to the left of them, cannon to the right of them, volleyed and thundered.

You may use other attributes on the selected text along with this BBCode.

Code: Select all

This text has an [size=150][color=#008040][tip=This is an embedded tooltip][b]embedded tooltip[/b][/tip][/color][/size] inside it.
This text has an embedded tooltip inside it.

While the selected text may be on multiple lines, only a single line of tooltip text is supported. Do not embed linefeeds in the text, they will just be rendered as <br />.

Code: Select all

[tip=These multiple lines have a tooltip]Line 1
Line 2
Line 3[/tip]
Line 1
Line 2
Line 3

Code: Select all

[tip=Tip 1
Tip 2
Tip 3]This line can't have a multi-line toolip[/tip]
This line can't have a multi-line toolip