Interactive Tree Zoom Error
Brought to you by:
canajun2eh,
yalnifj
When you first load the interactive tree and zoom in or out, all works fine. However, if you click on a individual or couple to expand the box, and there are pictures for the individuals, when you zoom in or out a javascript error occurs and the pictures in the box become very tiny.
This happens not only in IE but also in FireFox and in Opera.
I don't see the JavaScript error (probably looking in the wrong place) in FireFox or Opera.
Safari also gives you tiny pictures after zooming ... the source code for the rendered image includes
style="display: inline; width: 9px; height: 9px; "
at the end of the <img src construction to hold the picture of the person. However, the images are not 9x9 pixels ... the sex gif's are about that size coincidently.
The "help" icons also diminish in size from 15x15 (as first rendered before zooming) to 9x9 after zooming.
And the family.gif goes from 14x15 to 9x9.
FireFox does the same thing ... looks like browsers are doing what they're told! FF does pop 4 "warnings" into its console after clicking "zoom in" or "zoom out", but I can't see where the errors are from as they don't have a line number.
In fact you don't need pictures for the individuals. The icon gif's all change to 9x9 after zooming. It's just a lot more noticeable with the larger pictures we use for depicting people.
Mark