实现内容页图片点击效果

<script>
    $(function () {
        $('#con_center .honor img').each(function(){
            var route = $(this).attr('src');
            $(this).wrap("<a href='" + route + "' target='_blank'></a>")
        })
    });
</script>
0
0
Tags:

发表回复

Your email address will not be published. Required fields are marked *.

*
*