Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
colorbox或fancybox中的多个交互式iframe内容_Iframe_Fancybox_Colorbox - Fatal编程技术网

colorbox或fancybox中的多个交互式iframe内容

colorbox或fancybox中的多个交互式iframe内容,iframe,fancybox,colorbox,Iframe,Fancybox,Colorbox,我是JS和Ajax的绝对新手,在经历了fancybox和colorbox之后,我无法通过“prev”和“next”选项在我试图在横幅下的html中加载的iFrame之间导航实现幻灯片放映 在fancybox中,无法调整高度(尽管我尝试了各种选项,包括直接在.fancybox wrap with!important下编辑jquery.fancybox.css等) 尽管prev&next按钮与css位于同一文件夹下,但我始终无法使其正常工作 iframe内容是一个panaromic flash内容,

我是JS和Ajax的绝对新手,在经历了fancybox和colorbox之后,我无法通过“prev”和“next”选项在我试图在横幅下的html中加载的iFrame之间导航实现幻灯片放映

在fancybox中,无法调整高度(尽管我尝试了各种选项,包括直接在.fancybox wrap with!important下编辑jquery.fancybox.css等)

尽管prev&next按钮与css位于同一文件夹下,但我始终无法使其正常工作

iframe内容是一个panaromic flash内容,带有(3个不同的).index html,我可以在iframe中加载,但当尝试加载多个html文件作为幻灯片放映或使用scroll prev&next选项时,它不起作用。 下面是我的电话:

$(document).ready(function(){
    $("a.iframe").fancybox({
        'width' : 1000,
        'height' : 500,
        'autoScale' : false,
        'transitionIn' : 'none',
        'transitionOut' : 'none',
        'type' : 'iframe' 
    });
});

<!-- html code here -->

<a class="iframe" href="360/type1/example.html"><img src="images/type1.png" height="100" width="100"/></a>
<a class="iframe" href="360/type2/example.html"><img src="images/type2.png" height="100" width="100"/></a>
</body>
$(文档).ready(函数(){
$(“a.iframe”).fancybox({
“宽度”:1000,
‘高度’:500,
“自动缩放”:false,
“transitionIn”:“无”,
“transitionOut”:“无”,
“type”:“iframe”
});
});

fancybox的哪个版本?您好,我使用的是2ps版本:我还使用了rel“gallery”试用了上述版本但我不确定这是否是正确的方法,虽然不起作用,但我阅读了你的大部分评论,包括在谷歌上指出的带有“callsite”选项的评论。在多次尝试后有点困惑,谢谢JFK,我希望你能告诉我一个方法,这有帮助吗?现在就去尝试,很快会评论,谢谢