Home >Backend Development >PHP Tutorial >layer popup layer plug-in problem

layer popup layer plug-in problem

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-08-29 08:35:491281browse
<code>$('.am-g.trends').on('click','.ex-main-img', function () {
        layer.open({
            type: 1,
            title: false,
            closeBtn: 0,
            area: '500px',
            skin: 'layui-layer-nobg', //没有背景色
            shadeClose: true,
            content: $(this)
        });
    });
</code>

I used the layer plug-in, clicked on the picture, and a magnified picture of itself popped up, but it disappeared. I wonder if anyone has a similar experience

layer popup layer plug-in problem

layer popup layer plug-in problem

layer popup layer plug-in problem

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn