Example of event function

this TBS template is W3C compliant Valid XHTML 1.1

Parameters onformat and ondata allow to execute an event function each time a field or a block is merged.

In this example, the parameter ondata is used to display a colored comment using the m_event_b1() function.

Position Nickname Score Level Date
1 Marie (WINS) 300 excellent 10/01/03
2 Eric 215 good 10/01/03
3 Mark 180 middle 10/01/03
4 Paul 175 middle 10/01/03
5 Math 120 middle 10/01/03
6 Lucy 115 middle 10/01/03