HTML iFrame help!

looking to add a few iFrames (widgets / search bars) from 3rd party sites.

The search bar iFrame works fine …

However… the widgets are not working at all. The code im adding is as follows:

iFrame #1

< if rame src="https:// if rame.thailandholidayhomes.com/ **in** dex.php?agent_id=An-Opulent-Collection-" width="100%" height="1809" frameBorder="0" name="thh" scroll **in** g="no">

iFrame #2

iFrame #3

Any ideas or maybe use of a different way of adding these to the wix site would be appreciated.

Many thanks
Gareth

Iframe 2 & 3 seem to hold code that the other iframes need, correct? In that case you need to include those in the same html component as the iframes itself. Try that.

Hi Gareth,

iFrame #1

This one doesn’t work because even through you use an HTTPS URL for the iframe, the server redirects to HTTP. HTTP resources are blocked by security policy.

iFrame #2

iFrame #3

These two do work but you need to wrap them in a body or div tag. For instance:

Without wrapping it, the script is placed inside the head tag and, when it executes, all the dynamic elements it adds to the page are added to the head tag and thus they are not shown.

Regards,
Yevhen

Hi Yevhen

Working great… code was never my strong point!! Cheers! G

You’re welcome!

I added an html code to my site but it wasn’t display the ads.I used the html I frame tool