:: Forum >>

Grid displays in IE but not FireFox.

Hello everyone,

I have the Grid in an IFRAME. The contents in the IFRAME are pointed to blank.htm until the user makes some selections. Then, I use Javascript to change the contents of the IFRAME using document.VCframe.location.href="http://my_url_and_path/grid.htm"

This works with IE, but not for FireFox.

With FF I still see blank.htm.

Ideas?
Eric Dykstra
Wednesday, July 6, 2005
With IFrames, don't change the location.href, change the SRC. So change your line of code to be:

document.VCframe.src="http://my_url_and_path/grid.htm"
Jim Hunter
Wednesday, July 6, 2005
Jim,

Yeah ... I tried that. It causes other issues ... the grid.htm source stays, and it won't swap back to blank.htm.

However, I just figured it out. It isn't an ActiveWidgets Grid issue at all. FF is more particular about IFRAME. I changed the line to use 'parent' instead of 'document' and it now works for both IE and FF.

So, I'm moving forward with that solution for now. I think I should use 'src' instead of 'location.href' and fix the other issue it causes. But I'll have to leave that for the next deadline. :)

Thanks,

Eric
Eric Dykstra
Thursday, July 7, 2005

This topic is archived.


Back to support forum

Forum search