sessionStorage第一次进入页面显示弹窗

 $(function(){

  var not_first_view_page = sessionStorage.getItem('not_first_view_page');

  if(!not_first_view_page){

    popup.show();

    sessionStorage.setItem('not_first_view_page',true);

  }

});

posted @ 2016-11-21 12:07  ccMelissa  阅读(731)  评论(0编辑  收藏  举报