Well, I recently took it up on myself to redo all of the coding in my administator area and finished. However, when it came to updating a few templates for the site, I was dismayed, because the rest of the area looked so awesome and textarea was so plain. What had in mind was what if instead of:
<if condition="$value == 1">Show text</if>
I could have:
<if condition="$value == 1">Show text</if>
This is my failed code:
HTML Code:
function style_textarea(elid) {
	target = document.getElementById(elid);
	s = new String(target.innerHTML);
	s = s.replace(/&lt;/g,"<span style='color:red;font-weight:bold;'>&lt;</span>",false); //<
	s = s.replace(/&gt;/g,"<span style='color:red;font-weight:bold;'>&gt;</span>",false); //>
	target.innerHTML = s;
Just a point in the right direction would be appreciated. Which functions would I go about using and how to apply them?