It is currently March 28th, 2024, 9:22 pm

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

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

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

Post 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