Link to home
Create AccountLog in
Avatar of Rowby Goren
Rowby GorenFlag for United States of America

asked on

Is it possible to have a fixed Iframe height in a cross domain situation?

Hello

I have an iframe.  I have access to the page where I created the Iframe, but no access to the domain that is showing in the iframe window.

Here is the page, work in progress.

http://autoagency.com/mercury-insurance-google-frame

Idealliy I would like the height to be, let's say 1000 pixels.   Ideally without scroll bars.

Is there a cross browser solution available. For PC and Mac -- and even for IE6?

Am I looking for the impossible?

Perhaps some javascript would help??

Here's the current iframe code:

<iframe src="https://www.webfscauto2.com/generalinfo.aspx?nAgentID=13451&sLanguage=English&bRating=1&sState=CA" name="frame1" scrolling="yes" frameborder="no" align="center" height="800" width="100%">
</iframe>

Open in new window


Thanks
ASKER CERTIFIED SOLUTION
Avatar of SSupreme
SSupreme
Flag of Belarus image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Related to your page: remove height: 100%; from iframe in Template_css.css and replace in html current iframe scrolling="yes" to scrolling="no".
Avatar of Rowby Goren

ASKER

Thanks Ssupreme,

That fixed it :)

Rowby