![]() |
Highlight BBCode - Highlights text with a yellow box (BB Code)
1 Attachment(s)
This is a simple bbcode to highlight text with a yellow box. You can of course change the color to your needs.
This has been confirmed working in the latest releases of IE, FF, Chrome, Safari, and Opera. Demo: here. Add a new BBCode Title: Highlight BB Code Tag Name: hl Replacement: Code:
<span style="background-color:yellow;color:black;">{param}</span> Replacement: Code:
<span class="highlight">{param}</span> Example: [hl]This is a highlight test[/hl] Description: This highlights selected text. Use Option: No Button Image: (optional) https://vborg.vbsupport.ru/external/2010/08/53.jpg 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> Description: This highlights selected text. Use Option: Yes Button Image: (optional) https://vborg.vbsupport.ru/external/2010/08/53.jpg 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. Please mark as installed if you use this. :) Check My Profile for other BB Code enhancements. They work on all versions. Screenshot: https://vborg.vbsupport.ru/attachmen...1&d=1281238379 |
Very nice bb code :D
it would be cool if you put the password bbcode here as well :D |
thanxx man
installed + 5 stars |
That is already the default style highlight code in vb 4. This will do it in templates automatically.
Code:
<span class="highlight">Testing</span> |
Quote:
Quote:
|
I was just letting you know it was already there, that's all. I didn't know if you knew it or not. I use the default highlight code for my Thread Starter in Postbit hack, that is how I knew. No offense meant, sir. ;)
|
No offense taken, Thanks for the info.
|
work fine, installed, thx
|
another good one...!!!!
|
Wonderful.
Installed and working 4.1 PL2 |
All times are GMT. The time now is 10:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|