Menu

#2351 Interactive Tree Zoom Error

v4.1.6
open
nobody
None
5
2008-11-18
2008-11-18
tthdoc
No

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.

Discussion

  • Gerry Kroll

    Gerry Kroll - 2008-11-19

    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.

     
  • Mark Hattam

    Mark Hattam - 2009-01-02

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.