Tue Feb 03, 2009 2:36 pm
Okay Andrew, I spent a few minutes working on this, and managed to get the custom bbcode to display tables. You will need to create five custom bbcode entries. (Admin Panel -> Forum -> BBCode) First one goes in top box, second in second box.
- Code:
[table]{TEXT}[/table]
<table cellspacing="0" class="table1" border=1>{TEXT}</table>
If you remove the "class='table1'" part it will display like basic HTML tables. If not, it will display fancy like this:
http://www.nbavg.org/forum/viewtopic.ph ... p=201#p201I'll keep trying the phpbb class settings to see if there's a nicer looking one.
The rest I'm going to list in one code block.
- Code:
[tb]{TEXT}[/tb]
<td colspan=1><b>{TEXT}</b></td>
[td]{TEXT}[/td]
<td>{TEXT}</td>
[tr]{TEXT}[/tr]
<tr>{TEXT}</tr>
[tdo={NUMBER}]{TEXT}[/tdo]
<td colspan={NUMBER}>{TEXT}</td>
Probably could've PMed this. But whatever. It can serve as tutorial once added.
Tue Feb 03, 2009 5:37 pm
Looks good to me so far, thanks heaps.
Tue Feb 03, 2009 5:45 pm
Thanks!
There's a way to get rid of the hover highlight, I'll have to look it up if you wanted to change that. Actually, maybe it's nice for long tables, I hadn't moused over my table till I noticed it on your test. It's weird looking on your test, but I pretty sure it's just a result of it being two columns, on the longer test I made it looks useful for highlighting a row. But I'm rambling, if anyone wanted that changed though I could look up how to get rid of it.
Tue Feb 03, 2009 6:12 pm
The highlight doesn't look too bad especially with more cells as in your example but if we can get rid of it easily enough it's probably worth trying out as the highlight might get a bit distracting.
Mon Jun 29, 2009 7:25 am
Stickied because I wanted to know how to do this a while ago and found no such tutorial.
Sat May 15, 2010 11:32 am
I got a question or a doubt...I cant make the table to use the "colspan" code...does anybody knows how to use it? An example would be great
Sun May 16, 2010 12:06 pm
Can't be done with the BBCode as-is, sorry.
Wed Jan 05, 2011 11:19 am
Nice to bump up this thread, on topic can somebody tell me how to put a highlight on a row or column? Like a blue highlight on the very top row. Also can I merger columns? I can only do rows.
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.