Need advice with HTML table

Posted by misha-moroshko on Stack Overflow See other posts from Stack Overflow or by misha-moroshko
Published on 2010-04-21T11:44:24Z Indexed on 2010/04/21 15:33 UTC
Read the original article Hit count: 225

Filed under:
|
|

I would like to code an HTML table with messages like this:

alt text

The table will contain messages that will spread over first N columns (N may change). Lets call these N columns, the message area. Each message is located on X contiguous cells in the message area. X may also change.

Each message has a name that contains words separated with underscores.

How would you recommend to code this table in Javascript/jQuery such that:

  • It would be easy to define a message (start cell, end cell, color, name)
  • The name will break only after underscores (rather than in the middle of the word)

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript