Tables and Avatars...

Author Message

Rocket Man
Posts: 239
A couple of additions today...

First, a Table function that prints some nicely-formatted HTML tables.


(display-table list-of-headers nested-list-of-data "optional form styling")

striped - alternates rows in grey
bordered - adds borders and rounded corners to the table
hover - enables hover state on table rows when mousing over
condensed - more condensed style of table


This is a neat way of displaying tabular data in a pretty way, just by passing in lists.

The other thing is that I've changed the formatting of comments to include user avatars to the left of each comment. Unfortunately I didn't have time to get avatar uploading working. That will have to wait for next week!

Rocketeer
Posts: 18
Uhm, no example?

Rocket Man
Posts: 239
It's for making tables in the page itself, there's no UBB code to put it in posts.

Rocket Man
Posts: 239
There is an example on the profile page but only I can see it. :) I'll probably make a proper member list page somewhere viewable by any registered user.

Rocket Man
Posts: 239
Okay the new Forum section is probably the best example of using my (display-table) function now...


Views: 104