Show Jquery Popup Only Once

前端 未结 3 2009
一向
一向 2020-12-20 08:47

I have a site where a user must login and once that is done they are directed to a new page and a pop up box appears. I have no problem displaying the popup box however if y

3条回答
  •  囚心锁ツ
    2020-12-20 09:44

    You can use this for one time popup.

    $(window).load(function(){
            $('.popUp').show();
            $('.close').click(function(){
                $('.popUp').slideUp();
            });
            setTimeout('$(".popUp").fadeOut()', 10000);
        });
    

提交回复
热议问题