GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Iframe issue (default report skin)

Click to view RSS...
Author Lower-right FrameBorder doesn't move on its own, when genomap or google maps are loaded.
Posted Saturday, February 17, 2007 - Post #16412
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Customers
Gamma
GenoPro version: 3.1.0.1

Last Login: Thursday, November 16, 2023
Posts: 24, Visits: 163
I'm trying to display my report (uncustomized* default skin) within an iframe on a php page, and I have three issues:

1. For some reason the lower right-hand frame does not automatically resize its FrameBorder and needs to be dragged upwards by hand, when a link is clicked to show a GenoMap or Google Map. This behavior only occurs within the iframe and doesn't happen when I load up the report normally on the same site.

2. The "Overview Map of all geocoded places" link successfully triggers the lower right Google Map frame, but the map is empty and grey. The Google Map "enlarge" button displays, but has no effect, but the "close" button works. Again, loading this same content normally works just fine and this only happens within the iframe.

3. The "click to enlarge/reduce the size of this popup frame" button is visible in Google Maps, but does not have any effect when the content is loaded up within the iframe. This button does now show up at all for GenoMaps, although the corresponding alt text displays in that spot instead.

The PHP code, for reference (for some reason the code-stripping isn't working here, so I'm improvising in this post):
start php
require_once('config.php');
print_header('GenoPro Iframe Test');
close php

display standard iframe code

start php
print_footer();
close php


The php page containing the iframe code lives in a folder that is parallel to the genopro folder on my site. Wondering if this was javascript, I copied some of the supporting script files into both directories just in case, to no avail. I have a feeling this still may have to do with the javascript, but I'm not much of a javascript wizard or even much of a hack at this point. Can anyone point me to where the issue may lie?

* I say uncustomized, but I did edit the link for the Home icon in heading.htm, in order to avoid the default behavior of escaping the iframe when someone clicks Home.

Edit: Here's what IE reports:

Line: 690
Char: 2
Error: 'top.popupMaxButton.src' is null or not an object
Code: 0
URL: http://www.examplesite.com/gnotest/gmap_places.htm


Edited: Sunday, February 18, 2007 by Sonnabend



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse