Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Craig Watson
27,930 PointsJust something I have been playing around with to showcase responsive design :)
Hi everyone,
Just been messing around with this and thought some of you might like a look / test it out for me...
It is really just a bit of fun so go easy on me :)
Craig
4 Answers
ellie adam
26,377 PointsIt doesn't work :)
Ryan Field
Courses Plus Student 21,242 PointsWorked for me! That's pretty cool! :)
Craig Watson
27,930 PointsRyan, would you happen to know why a url with https would not work :S its got me stumped ...
Ryan Field
Courses Plus Student 21,242 PointsIt's most likely due to a security issue. Through some testing, https://facebook.com and https://dropbox.com wouldn't display, and pulling up the console indicated these errors:
Refused to display 'https://www.facebook.com/?_rdr' in a frame because it set 'X-Frame-Options' to 'DENY'.
and
Refused to display 'https://www.dropbox.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Which is basically them disallowing their sites to be shown in iframes on other servers. Another site, https://guildwars2.com does display, however, so it's nothing to do with your tool, just whether the destination site allows their content to be displayed in frames from another server.
Taure Anthony
4,692 PointsThat's neat dude, thanks for sharing.
Marcus Parsons
15,719 PointsVery nice, Craig! :)
Craig Watson
27,930 PointsCraig Watson
27,930 PointsMake sure it is not a https url :)
Craig Watson
27,930 PointsCraig Watson
27,930 PointsHi Ellie,
I was aware it was not working for some urls but did not really know why,
however I found this article and it was a good read so best to share anything useful link
This is possibly why we are not seeing testing like this all over the web as it could turn out to be really buggy..
anyway thanks for looking
Craig