• Important! If you attempt to register and do not get an email within 5 minutes please check your spam box. This is especially true for Microsoft owned domains like Hotmail, Outlook, and Live. If these do not work please consider Gmail. Yahoo, or even AOL email which works fine.

hl (highlight) BB Code

BirdOPrey5

Staff member
Administrator
VIP
[NOBB][/NOBB]

You can highlight text using the [NOBB] [/NOBB] codes. The background color and font color are set to make it easy to use. Simply place text in the tags. Smilies and images are OK too.

[NOBB]This is a simple test.[/NOBB] =
This is a simple test.

[NOBB]This is a different test:pirate:[/NOBB] =
This is a different test:pirate:
 

BirdOPrey5

Staff member
Administrator
VIP
Add a new BBCode

Title: Highlight
BB Code Tag Name: hl
Replacement:
Code:
<span style="background-color:yellow;color:black;">{param}</span>
Example: [NOBB]This is a highlight test[/NOBB]
Description: This highlights selected text.
Use Option: No
Button Image: (optional) attached.

Remove Tag If Empty: Yes
All Disable Options: No

The above implementation fixes the color of the highlight at yellow and the text black for easy use. If you prefer you may also install it with a variable highlight color. If you prefer to have the user choose the highlight color then instead add the following:

Title: Highlight
BB Code Tag Name: hl
Replacement:
Code:
<span style="background-color:{option};color:black;">{param}</span>
Example: [NOBB][hl="cyan"]This is a highlight test[/hl][/NOBB]
Description: This highlights selected text.
Use Option: Yes
Button Image: (optional) attached.

Remove Tag If Empty: Yes
All Disable Options: No

You can use standard color names in the option such as red, blue, green, yellow, etc...
You can also use hex color codes preceded by the # sign for exact colors, such as #0000FF
Click here for common hex color codes.
 

Attachments

Top