javascript uses hardcoded colors - would be better to assign a different css class to the span rather than assign colors directly.

Current scheme fouls up on sites with black or red backgrounds. :(

Comments

mcurry’s picture

Status: Active » Fixed

fixed in Drupal-4-7 and Drupal-5 branches.
You can now use css class definitions to define behaviors

in ed_classified.css:

.classified-bodylength-exceeded { background-color: red; color: yellow; }
.classified-bodylength-ok { color: green;}
#classified-bodylength-msg { font-weight: bold; } 

You can override these in your template's style.css

Anonymous’s picture

Status: Fixed » Closed (fixed)
mcurry’s picture

Assigned: mcurry » Unassigned