|
|
|
Forum Member
      
Group: Customers
Last Login: 1/18/2008 11:58:06 AM
GenoPro Version: 2.0.0.3
Posts: 26,
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 |
|
|
|
|
|
Forum Member
      
Group: Customers
Last Login: 1/18/2008 11:58:06 AM
GenoPro Version: 2.0.0.3
Posts: 26,
Visits: 163
|
|
49 thread views and rising!
This is pretty much my only show-stopper, so any thoughts whatsoever would be very much appreciated! I may even throw in some how-to forum posts for how I set the site up.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151,
Visits: 5,401
|
|
Sonnabend (2/21/2007) 49 thread views and rising!
This is pretty much my only show-stopper, so any thoughts whatsoever would be very much appreciated! I may even throw in some how-to forum posts for how I set the site up.Paret of the problem is that javascript global variables are declared in default.htm, i.e. what is normally the top window, and then referenced via the javascript 'top' object. By placing the report in an iframe you have moved the 'top' and so the variables are not found. I tried replacing all occurences of top. with top.frames["heading"].parent. in the files script.js and script.es. This then references the variables via the parent window of the frame with the name 'heading', but still no luck!
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 6:30:53 PM
GenoPro Version: 2.0.1.6
Posts: 1,151,
Visits: 5,401
|
|
I think I know why my 1st attempted fix failed. But I now I have a working solution to this issue! Hopefully it will be available in GenoPro 2.0.0.3
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Forum Member
      
Group: Customers
Last Login: 1/18/2008 11:58:06 AM
GenoPro Version: 2.0.0.3
Posts: 26,
Visits: 163
|
|
Ron (2/22/2007) I thinkI know why my 1st attempted fixfailed. But I now I have a working solution to this issue! Hopefully it will be available in GenoPro 2.0.0.3 Great! Let me know if I can help betatest it prior to the 2.0.0.3 release (not sure when that will be).
|
|
|
|
|
Forum Member
      
Group: Customers
Last Login: 1/18/2008 11:58:06 AM
GenoPro Version: 2.0.0.3
Posts: 26,
Visits: 163
|
|
| 2.0.0.3 has taken care of this issue. Thanks for the help, Ron!
|
|
|
|