[bluetable]Пример[/bluetable]
[bluetable]В общий вид материалов форума после $BODY$[/bluetable]
Code
<script type="text/javascript">
e=document.getElementsByTagName("TD");
for(k=0;k<e.length;k++) {
if(e[k].className=='posttdMessage') {
s=e[k].innerHTML;
while (s.indexOf('[b lue]') != -1) {
s=s.replace('[b lue]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:161618; border-top:1px dotted #268abf; border-right:1px dotted #268abf; border-bottom:1px dotted #268abf; border-left:1px dotted #268abf;"><tr><td style="width:15px; height:30px; background-image: url(http://www.game-home.ru/admin_soob/blue2.png); background-repeat:no-repeat; background-position:0.5px 0.5px;"> </td><td><font size="1.5" face="Visitor_Rus" style="color: 268abf;">'); s=s.replace('[/b lue]','</font></td></tr></table>');
e[k].innerHTML=s;}}}
</script>
[bluetable]Уберите пробелы между [b_lue]и [/b_lue][/bluetable]
[bluetable]В "Форме добавления сообщения" после $BBCODES$ ставим:[/bluetable]
Code
<input type="button" value="Синяя Таблица" onclick="simpletag('blue','','','message',''); return false;" class="codeButtons" title="Вставить Синию Таблицу" name="blue">