Fancybox在同一个弹出窗口中打开超链接

问题描述:

我使用fancybox iframe(在iframe演示中可以看到)
http: //fancyapps.com/fancybox/demo/

I am using the fancybox iframe (as can be seen here in the iframe demo) http://fancyapps.com/fancybox/demo/

以下是我使用的代码

 <p><a class="fancybox fancybox.iframe" href="items/item1.html"><span>Item 1</span></a>

然后,我有item1.html,它包含以下代码:

I then have item1.html that has the following code:

<h3>Item 1</h3>
Blah blah blah text here
<a href="http://www.google.com"><img src="https://www.google.com/images/srpr/logo3w.png" width="160" height="25" border="0" alt="Google logo" /></a>

fancybox弹出窗口可以工作,并在点击项目1链接后弹出,但是,一旦fancybox是开放的,我可以看到blahblah文本和谷歌标志,当我点击标志 - www.google.com应该加载,但它没有。

The fancybox pop up window works and pops up after clicking the items 1 link, however, once the fancybox is open and i can see the blahblah text and also the google logo, when i click the logo - the www.google.com should load but it doesn't. What am i doing wrong?

谢谢,

Daniel

无法在fancybox或任何其他lightbox中打开goolge,请查看 https ://*.com/a/8808761/1055987 获取更多信息。

You can't open goolge inside fancybox or in any other lightbox, check https://*.com/a/8808761/1055987 for more.

将其更改为任何其他网址,最好是您自己的网址。

Change it to any other URL, preferably one of your own.