"/>

jQuery仿淘宝评价晒图图片放大查看代码

187
0
jQuery晒图代码淘宝晒图评论代码
jQuery仿淘宝评价晒图图片放大查看代码是一款类似淘宝晒图评论图片展示插件,支持多条图片评论。
<script type="text/javascript" src="js/commentImg.js"></script>
<script>
    
    $(function () {

        $(".tm-m-photos").commentImg({
			activeClass: 'tm-current', //缩略图当前状态class,默认'current'
        	nextButton: '.tm-m-photo-viewer-navright', //向后翻页按钮,默认'.next'
        	prevButton: '.tm-m-photo-viewer-navleft', //向前翻页按钮,默认'.prev'
			imgNavBox:'.tm-m-photos-thumb', //缩略图容器,默认'.photos-thumb'
			imgViewBox:'.tm-m-photo-viewer' //浏览图容器,默认'.photo-viewer'
        });
    })

</script>