【发布时间】:2012-02-21 06:49:21
【问题描述】:
我正在使用 jQuery 灯箱在我的网页中显示一个画廊,它工作正常,但是当鼠标悬停在它上面时我需要弹出图像我尝试使用下面的代码,但它不起作用如何实现它?
<script type="text/javascript">
jQuery(document).mouseover(function(){
jQuery('#gallery a').lightBox();
});
</script>
【问题讨论】:
-
这应该可以正常工作...你在萤火虫中看到任何错误...你的代码是正确的
-
@AmitPatil: nope no error found....