Grow your CSS skills. Land your dream job.

how to open https website in iframe or any html page

  • # March 8, 2013 at 5:23 am

    how to open https website in iframe or any html page
    any idea

    in my project all http site open correctly but not https

    # March 8, 2013 at 6:03 am

    How are you calling the iframe?

    # March 8, 2013 at 7:21 am

    You need to give the iframe a name and any link you want to display on the iframe needs a target. Like this.


    link

    Heres a pen of my website which has an iframe so you can better see what i mean.
    [Pen](http://codepen.io/Jarolin/pen/bwLJs “”)

    # March 8, 2013 at 12:47 pm

    # March 9, 2013 at 2:46 am

    help please

    # March 9, 2013 at 3:25 am

    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’.

    # March 9, 2013 at 4:49 am

    any other soulution

    # March 9, 2013 at 5:03 am

    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.

    # March 9, 2013 at 5:28 am

    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 ????

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".