为什么我的漂亮照片实现没有在这个页面的图片库上开火?
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
<a href="gala2016-photos/photo1-large.jpg" rel="prettyPhoto[pp_gal]" title=""><img src="gala2016-photos/photo1-small.jpg" alt="" /></a>
<a href="gala2016-photos/photo2-large.jpg" rel="prettyPhoto[pp_gal]" title=""><img src="gala2016-photos/photo2-small.jpg" alt="" /></a>发布于 2016-11-16 15:54:15
库prettyPhoto需要jquery $.browser,但不推荐它。https://api.jquery.com/jquery.browser/
尝试更新prettyPhoto库
https://stackoverflow.com/questions/40636398
复制相似问题