@ proavia, try editing the HTML Replacement for the
table= BBCode.
Code: Select all
<script>$('.tables br').remove();</script><span class="tables"><div class="forabg forumbg-table tbg {SIMPLETEXT}" style="width: {NUMBER}%"><div class="inner"><table class="table1">{TEXT}</table></div></div></span>
Then in posting put this in the texarea...
Code: Select all
[size=130]Table Title[/size]
[table=45 null][thead][tr=null][th=33]Title1[/th][th=33]Title2[/th][th=34]Title3[/th][/tr][/thead]
[tbody][tr=bg2][td]Text11[/td][td]Text21[/td][td]Text31[/td][/tr]
[tr=bg1][td]Text12[/td][td]Text22[/td][td]Text32[/td][/tr]
[tr=bg2][td]Text13[/td][td]Text23[/td][td]Text33[/td][/tr]
[tr=bg1][td]Text14[/td][td]Text24[/td][td]Text34[/td][/tr]
[tr=bg2][td]Text15[/td][td]Text25[/td][td]Text35[/td][/tr]
[tr=bg1][td]Text16[/td][td]Text26[/td][td]Text36[/td][/tr]
[tr=bg2][td]Text17[/td][td]Text27[/td][td]Text37[/td][/tr][/tbody][/table]
...and click Preview or Submit.
Almost... it was working until I came back to it and looked.
Got it, also create a new file... ./ext/sniper/tables/styles/template/event/overall_footer_body_after.html
Code: Select all
<script>$('.tables br').remove();</script>
and upload. Clear server cache.
The script in the table BBCode works while creating the table and the script in the footer holds it there. Need Testing.