我有一个Prezi文件,嵌入的代码如下所示:
<iframe src="http://prezi.com/embed/id-of-the-file/?bgcolor=ffffff&lock_to_path=1&autoplay=0&autohide_ctrls=0&features=undefined&disabled_features=undefined&html5=1" width="550" height="400" frameBorder="0" webkitAllowFullScreen mozAllowFullscreen allowfullscreen></iframe>我已经安装了彩色盒和激活的彩色盒加载和彩色盒内嵌在模块设置。
如何使用Colorbox打开此文件?
我创建了一个链接并尝试如下:
<a class="colorbox-load" href="http://prezi.com/embed/id-of-the-file/?bgcolor=ffffff&lock_to_path=1&autoplay=0&autohide_ctrls=0&features=undefined&disabled_features=undefined&html5=1?width=500&height=500&iframe=true">open in Colorbox (iframe)</a>颜色框正在打开,但显示“此内容无法加载”。
发布于 2015-03-29 01:10:50
您通过将width=500&height=500&iframe=true与?连接而不是与另一个&连接来创建链接,因此工作链接如下:
<a class="colorbox-load" href="http://prezi.com/embed/id-of-the-file/?bgcolor=ffffff&lock_to_path=1&autoplay=0&autohide_ctrls=0&features=undefined&disabled_features=undefined&html5=1&width=500&height=500&iframe=true">open in Colorbox (iframe)</a>https://drupal.stackexchange.com/questions/126676
复制相似问题