Color display based upon record content
Brought to you by:
canajun2eh,
yalnifj
I would like to be able to display different color boxes in
the pedigree display dased upon whether the individual
has an immegration/emigration record, and whether this
record is empty or not. Perhaps even blink the record if
it is empty.
This will allow users to immediately see who were the
emigrants. This could also apply to other record types.
Ron Haley
Logged In: YES
user_id=1006499
Found an easy way to do this, using multiple class names in CSS.
http://www.w3.org/TR/html4/struct/global.html#adef-class
Just add a few lines to your style.css
(if you are using xenea theme, edit file :
themes/xenea/style.css)
and add new lines using fact's name.
To highlight people with EMIG fact, add :
.EMIG { background-color: gold; }
Other samples :
.CHR { font-style: italic; }
.EDUC { border: solid green 2px; }
.OCCU {
border-right-color: Blue;
border-right-style: double;
border-right-width: 8px;
border-collapse: separate;
}
etc ...
Note : functions_print.php,v 1.378 or higher required
you can download it from CVS menu.