CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
how to open https website in iframe or any html page
in my project all http site open correctly but not https
How are you calling the iframe?
You need to give the iframe a name and any link you want to display on the iframe needs a target. Like this.
Heres a pen of my website which has an iframe so you can better see what i mean.
it work for http but not https
any other solution
Actually your own example with the eff.org secure website does work.
But the google.com and facebook.com don’t, because:
Refused to display ‘https://www.google.nl/’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.
Refused to display ‘https://www.facebook.com/’ in a frame because it set ‘X-Frame-Options’ to ‘DENY’.
any other soulution
Uh yeah…? Don’t use google and facebook for testing and check your console for errors more.
Would need a live demo for better suggestions.
yaa all http website works in iframe but not htttps …..
is there any solution for .. https website open in iframe or or any html page ????
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed