【发布时间】:2011-02-26 02:24:33
【问题描述】:
我正在使用这个http://flowplayer.org/tools/demos/overlay/external.html 打开一个覆盖,该覆盖加载一个外部页面,其中包含用于填充该页面的 php 代码。当我尝试运行这个时,我的问题就来了:
<script type="text/javascript">
$("#thumb1").mouseover(function() {
$("#main_picture_content").attr("src","images/p79_wg_amethyst_bezel_2.jpg");
$(this).mouseout(function() {
$("#main_picture_content").attr("src","images/p79_wg_amethyst_bezel_1.jpg");
});
});
</script>
在该页面内(在叠加层内)。加载叠加层时会加载这些图像源。该脚本无法正常工作。我的猜测是它没有加载。我四处阅读并提到了 $getscript,但还没有真正的解决方案。有什么帮助吗?
【问题讨论】:
-
哦哦哦,脚本。我读错了:/
标签: jquery load overlay external