Users browsing this thread: 1 Guest(s)
New MyCode tags!
07-31-2013, 08:04 AM
(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.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)