It is currently May 26th, 2019, 2:22 am

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

Discussion about the documentation, main Rainmeter site and forums.
User avatar
jsmorley
Developer
Posts: 19245
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

jsmorley » May 27th, 2018, 2:58 pm

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