View Full Version : Combo BB Codes
legionofangels
04-14-2008, 11:18 PM
Is it possible to make these, if so I would like them but just wondering if it's possible.
I want a
Bold + Size "4" BB Code = Header Text
a
Bold + Color "Red" BB Code = Moderated Text
and if possible
Select All or Control + A BB Code = Select All Text In Box
Can these be done?
(( meaning the top two here, are a one button solution to a commonly used combination of BB Codes ))
harmor19
04-15-2008, 12:51 AM
Is it possible to make these, if so I would like them but just wondering if it's possible.
I want a
Bold + Size "4" BB Code = Header Text
a
Bold + Color "Red" BB Code = Moderated Text
and if possible
Select All or Control + A BB Code = Select All Text In Box
Can these be done?
(( meaning the top two here, are a one button solution to a commonly used combination of BB Codes ))
When you create a custom bbcode put this in replacement
Header: <b><font size="4">{param}</font></b>
Moderator Text: <b><fontcolor="Red">Moderated Text</font>]</b>
The last one you is easy enough to do. There's probably a javascript that can select all text and apply the bold tag around it but I'm not going to bother looking.
SEOvB
04-15-2008, 01:19 AM
<span style="font-wieght:bold; font-size: 14px;">{param}</span>
<span style="font-wieght:bold; color: red;">{param}</span>
Is what you really want to use
Boofo
04-15-2008, 01:46 AM
How would you add italics to that?
Dismounted
04-15-2008, 06:48 AM
font-style: italic;
legionofangels
04-15-2008, 05:22 PM
The last one you is easy enough to do. There's probably a javascript that can select all text and apply the bold tag around it but I'm not going to bother looking.
Actually I just bolded that for that post ONLY.
I only want the Select All to Select All, that's it, no other coding or text definitions. Just Select All BB Code. I'll look around but if anyone knows, greatly appreciated, would love to add it.
legionofangels
05-20-2008, 12:25 AM
When you create a custom bbcode put this in replacement
Header: <b><font size="4">{param}</font></b>
That worked.
Moderator Text: <b><fontcolor="Red">Moderated Text</font>]</b>
That did not work. It made the text bold, but did not make it red.
<span style="font-wieght:bold; color: red;">{param}</span>
Is what you really want to use
That did not work either. It made the text red but it did not make it bold.
Anyway those two can be combined? lol, then it will prolly work.
--------------- Added 1211246917 at 1211246917 ---------------
<span style="color: red;"><b>{param}</b></span>
That did work.
Thank you people.
L E G I O N
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.