[MyCode] Horizontal color
#1
Normally people use
[hr]
in mybb to make horizontal line for example like this line:

That's black color right? So why we not try to color that line?
Here is the simple mycode to let u color it that Horizontal.

Title: Horizontal color
Short Description: color horizontal line
Regular Expression:
\[hrc\](.*?)\[/hrc\]

Replacement :
<hr style="height: 1px; color: $1; background-color: $1" />

Enabled?: Yes

To use or test it, use this code :
[hrc]color here[/hrc]
for example
[hrc]blue[/hrc]
with result
[Image: 84583619.jpg]
Reply


Messages In This Thread
[MyCode] Horizontal color - by afzulnizam - 2010-05-25, 09:47 PM
RE: [MyCode] Horizontal color - by FBI - 2010-05-25, 10:03 PM
RE: [MyCode] Horizontal color - by MrBrechreiz - 2011-12-20, 08:02 PM
RE: [MyCode] Horizontal color - by ranjani - 2011-12-20, 08:41 PM
RE: [MyCode] Horizontal color - by Omar G. - 2011-12-20, 10:00 PM
RE: [MyCode] Horizontal color - by MrBrechreiz - 2011-12-21, 08:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)