[英]Pretty Photo not working
Why is my implementation of Pretty Photo not firing on the image gallery on this page? 为什么我的Pretty Photo实施无法在此页面的图像库上启动?
$(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>
The library prettyPhoto needs jquery $.browser but it's deprecated. 该库prettyPhoto需要jquery $ .browser,但已弃用。 https://api.jquery.com/jquery.browser/
https://api.jquery.com/jquery.browser/
Try updating the prettyPhoto library 尝试更新prettyPhoto库
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.