calmcalmuncle
calmcalmuncle

Reputation: 143

fancy box, some sites not displaying

I'm fairly new to using fancy box but i seem to have it set up correctly. I want to display other websites in the box.

when i use this code, everything is perfect!

<a class="iframe SecondaryCircles" id="Sec3" href="http://www.bbc.co.uk/" data-type="iframe" title=""></a>

however if i change the url to http://www.twitter.com/

<a class="iframe SecondaryCircles" id="Sec3" href="http://www.twitter.com/" data-type="iframe" title=""></a>

all that appears is a blank fancy box! does anybody know why this is happening? am i making a mistake or will some sites just not display?

any help would be very appreciated!

thanks!

Upvotes: 1

Views: 45

Answers (1)

Maze Runner
Maze Runner

Reputation: 244

I suspect its the X-frame blocking. Some sites dont allow you to embed there site in an iframe. to prevent click-jacking. see here

Upvotes: 1

Related Questions