New MyCode tags!
#1
Here is some new MyCode tags you can use in your posts!

[hrc]#2B60DE[/hrc]
1) Highlight text

[hl=green]Sample 2[/hl]

[noparse][hl=green]Sample 2[/hl][/noparse]

[hrc]#2B60DE[/hrc]
2) Blinking text

[blink]Amazing![/blink]

[noparse][blink]Amazing![/blink][/noparse]

[hrc]#2B60DE[/hrc]
3) Subscript text

Examplelow

[noparse]Examplelow[/noparse]

[hrc]#2B60DE[/hrc]
4) Superscript text

Examplehigh

[noparse]Examplehigh[/noparse]

[hrc]#2B60DE[/hrc]
5) Acronym

Title

[noparse]title[/noparse]

[hrc]#2B60DE[/hrc]
6) Horizontal bar with color

[hrc]#4BA08E[/hrc]
[hrc]yellow[/hrc]
[hrc]red[/hrc]

[noparse][hrc]#4BA08E[/hrc]
[hrc]yellow[/hrc]
[hrc]red[/hrc][/noparse]

[hrc]#2B60DE[/hrc]
7) Scrolling text

Incoming from Right!
Incoming from Left!


[noparse]Incoming from Right!
Incoming from Left![/noparse]


[hrc]#2B60DE[/hrc]
8) Button link

[button=http://www.google.com]Google[/button]

[noparse][button=http://www.google.com]Google[/button][/noparse]

[hrc]#2B60DE[/hrc]
9) Progress bar

My hack progress
   35%

[noparse]
My hack progress
   35%
[/noparse]

[hrc]#2B60DE[/hrc]
10) Google button link


[noparse]
[/noparse]

[hrc]#2B60DE[/hrc]

That's it for now! Feel free to add any other suggestion or idea for custom tags!
Reply
#2
Thank you! thank you

[blink]Amazing![/blink]
Reply
#3
My goal is to use all of these in a single post by the end of the week. The 15th Man Project just got a lot fancier!

Also: did you have to write the code for these or are did they just need to be uploaded? I have ulterior motives for asking.
Reply
#4
(07-31-2013, 06:38 AM)Edrin Wrote: did you have to write the code for these or are did they just need to be uploaded? I have ulterior motives for asking.

Some of them have been taken from the internet, some are from me and some are edited. But yes, you have to write the regex that recognize the tag and the HTML generated by the tag.

As an example, a tag such as \[backcolor=(.*?)\](.*?)\[/backcolor\] (to be read as [backcolor=$1]$2[/backcolor]) could generate a div or span element with $1 as the background-color attribute (background-color: $1) and $2 as the text of the element.
Reply


Forum Jump:


Users browsing this thread: