In this section

Site navigation below

The Code Style site has evolved by gradual refinement and accumulation of features and content. This review is part of a fully backdated site log and archive that sheds light on when, why and how particular features were implemented.

This log is sometimes updated several times per week, sometimes with a long overdue backlog of items. Many log entries refer to the Code Style Java package that delivers the servlet services and utilities used to manage this site.

Subscribe to the news feed for this log: RSS news feed

Reverse chronology

Text ad selector refinements, 25th August 2007

Modified AbstractAdSelector so that cycled text ad service areas whose monthly rate is less than a dollar (i.e. zero) are not displayed as a bookable option. Removed magic numbers from CycledAdSelector and TextAdSelector and corrected styling for both.

Holiday status includes, 17th August 2007

Added include statements to various email form templates for a holiday status message.

Mailing list request formatting, 14th August 2007

Tightened-up the email template output of the MailingListTemplate class when services are not included in the submission and added spacing between lines when they are.

Generic font family redirects, 13th August 2007

Added short URL redirects to the root level .htaccess configuration for the generic font family sampler pages.

Redirect seeother /cursive http://www.codestyle.org/css/font-family/sampler-Cursive.shtml
Redirect seeother /fantasy http://www.codestyle.org/css/font-family/sampler-Fantasy.shtml
Redirect seeother /monospace http://www.codestyle.org/css/font-family/sampler-Monospace.shtml
Redirect seeother /sansserif http://www.codestyle.org/css/font-family/sampler-SansSerif.shtml
Redirect seeother /serif http://www.codestyle.org/css/font-family/sampler-Serif.shtml
      

Generic font family survey results format, 11th August 2007

Adapted the FontSurveyTemplate class to output font survey results tables for the generic font family sampler pages. Required the addition of SimpleDateFormat and DecimalFormat fields for the results date and two decimal places for the percentage figure:

private static final String PERCENT_SYNTAX = "#,###,###,##0.00";
private static final DecimalFormat PERCENT_FORMAT = new DecimalFormat(PERCENT_SYNTAX);
      

Altered the table head output to match the per platform results tables and table body to include the percentage figure and bar chart image. Also changed the display sequence for the generic font family listings to Windows, Mac, Unix family.

Published the latest font survey results with new results table format for generic font family sampler pages.

Added Information class attribute markup to the privacy statement beneath the font survey forms and article feedback form. Changed table markup for all feedback forms so that comment text areas span both columns with heading above. Also styled the information paragraph class to have a grey background and border, and the same overall width as the Google banner ad beneath.

p.Information {
  text-indent:      -20px;
  padding:          10px 10px 10px 30px;
  width:            425px;
}
p.Information {
  border:           solid #ccc 1px;
  background:       #F9F9F9;
  color:            #333;
}
      

Styled submit buttons to float to the right of the form, with redundant class attribute for Internet Explorer.

.Feedback td input[type='submit'],
.Feedback td input.Submit {
  float:            right;
}
      

And controlled the overall width of feedback tables and set textareas to display full width:

table.Feedback {
  width:            63%;
}
.Feedback textarea {
  width:            100%;
}
      

Reduced the size of table headings and cell content:

.Feedback th, .Feedback td {
  font-size:        90%;
}
      

Text ad service area availability, 7th August 2007

Updated AbstractAdSelector to add an isAvailable() method to the ServiceArea inner class. If not available, the selection check box is not displayed. Set the home page service area as not available.

Global mailing list subscription form, 4th August 2007

Created a new mailing list template to generate a series of server side include files for a global mailing lists subscription form. Created a mailing list Soupermail form configuration file and set of templates for incomplete submission, success and email output. Then extended the mailing list template output class to generate the dynamic variable contents of the email template.

Updated the standard layout stylesheet CSStdLayoutCommon.css to add more margin beneath table captions:

caption {
  padding-top:      2%;
  padding-bottom:   1.5%;
}
      

And the livery style sheet CSStdLiveryCommon.css to stripe the mailing list subscription tables and add borders:

.MailingList th, .MailingList td {
  font-size:        small;
}
.MailingList th {
  border-left:      solid 1px #ccc;
  border-bottom:    double 3px #333;
}
.MailingList td {
  border-left:      solid 1px #ccc;
  border-bottom:    solid 1px #ccc;
}
.Odd td {
  background:       #F9F9F9;
  color:            #333;
}
      

Added a short URL redirection to the new mailing list page:

Redirect seeother /mailinglists http://www.codestyle.org/codestyle/MailingLists.shtml
      

Added new FAQ answers to several sections:

Cascading Style Sheets

Java language

Java objects

Java programming

Java servlet "how to"

Java strings

Javascript "how to"

Added a working draft TitledTextField to the Swing package, but did not display as intended initially.

Added an Information class attribute to the site privacy statements at the foot of user feedback forms and created style to set the information icon to the left of the text.

p.Information {
  text-indent:      -20px;
  margin:           20px;
}
      

Previously on Code Style

These backdated pages record detailed changes to the Code Style Web site since July 2000, when development first got underway. Some pages may refer to documents or features that have since changed or are no longer part of the site, but the archive is checked to ensure there are no dead links.

Add this page to your chosen social bookmarking service

Style warning - please read

Home · CSS · Java · Javascript · HTML · Help · Log