--- trunk2/output_template/node.tt 2004/11/01 22:52:44 580 +++ trunk2/output_template/node.tt 2004/11/01 23:38:53 581 @@ -21,6 +21,11 @@ if (e) { var y = findPosY(e); + if (parent.element_id && parent.mfn_iframe) { + var e2 = element_id('i'+parent.mfn_iframe[o]); + if (e2) y += findPosY(e2); + } + // position 30px above found term if (y > 30) y -= 30; if (e) window.scrollTo(findPosX(e),y);