Monday, October 22, 2007

I added font size control to the program logs so that users can change the size of the text in the display portion of the log. 

This was a very simple javascript/CSS solution that only required a few extra lines of code. I made some null links that had onclick event actions that either add or subtract one from a variable. Then the printResults() function gets run again to redraw the table. The table itself has a CSS font size tag in it that sizes according the value of the variable. 

The static sized columns in the table (time, identifier, ID number) stay the same size though. I don't really see much of a need to mess with that. The feature probably won't get much use anyway. 

No comments: