Lightbox中的外部脚本执行

时间:2010-10-15 16:49:28

标签: jquery jquery-plugins

我正在尝试从灯箱内调用外部脚本(prettyPhoto)。 基本上,脚本从流媒体服务器调用视频。

我能够看到灯箱出现,脚本开始执行,然后立即导致页面崩溃并挂起。

是否有灯箱能够实现这一目标?我的代码如下所示:

<a href="#inline-1" rel="prettyPhoto" >Click Here</a>
<div id="inline-1" class="hide">
    <p>This is inline content opened in prettyPhoto.</p>
    <p><script type="text/javascript" src="http://foo.com/example-script.js"></script></p></div>
</div>

0 个答案:

没有答案
相关问题