js_點擊彈出圖片


.hxzz_zzct{
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    z-index: 999999999999999999;
}
.hxzz_zzct .zzct{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
    <div class="hxzz_zzct">
        <div class="container">
            <div class="zzct"></div>
        </div>
    </div>
$(document).ready(function (){
    $('.hxzz_lb .hxzz_fm .hxzz_tp ').click(function (){
        $('.hxzz_zzct').slideDown();
        $('.zzct').empty().append($(this).html());

    });
    $('.hxzz_zzct').click(function (){
        $(this).slideUp();
    })
})

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM