【发布时间】:2012-07-05 03:42:49
【问题描述】:
【问题讨论】:
-
请检查此网址lpld.natives.it 并单击底部的任何链接。你期待这样吗
-
我认为不可能。我已经回答了类似的问题stackoverflow.com/a/11231402/1055987
-
我在发帖前进行了搜索,但没有看到那个帖子。我不知道以前是否存在 jquery 工具。太酷了。
【问题讨论】:
在父页面上,使用 iFrame 设置 fancybox:
$(document).ready(function() {
$(".fancybox").fancybox(
{
width:'75%',
height:'75%',
'type' : 'iframe'
});
});
在子页面中,放入您的内容,确保其具有有效的 doctype,再次导入 Fancybox 需要的 javascript 和 css,然后声明您的新 Fancybox 链接。可能对你有帮助
【讨论】: