Cross Domain Iframe Issue Solved

  • No script needed
  • No script to be installed in clients' source src websites
  • Style with CSS
  • Auto height for parent page of iframe and child pages of iframe
  • Automatically scrolling to top if link on iframe is clicked.

Try this

<iframe src="https://www.tdsmith.com/our-properties/" style="position:fixed; top:0px; bottom:0px; right:0px; width: 100%; border: none; margin:0; padding:0; overflow: hidden; z-index:999999; height: 100%;"></iframe>

Or Try this

<iframe src="http://janinestevens.net/homes-for-sale-results/?cityId[]=73&cityId[]=444&cityId[]=401&cityId[]=752&cityId[]=674&location=&propertyType=SFR,CND&status=active&minListPrice=1500000&maxListPrice=20000000&squareFeet=&bedrooms=0&bathCount=0&_openHomesOnlyYn=on&_dateRange=on" style="position:fixed; top:0px; bottom:0px; right:0px; width: 100%; border: none; margin:0; padding:0; overflow: hidden; z-index:999999; height: 100%;"></iframe>

 

You can
Change top:0px with say top:100px
z-index:999999 with say z-index:10

P N Paramasivan