When a user closes a
, hide that
on all site pages

前端 未结 12 880
忘了有多久
忘了有多久 2020-12-15 02:49

I\'ve developed a couple of alert boxes that display on all site pages.

The user is able to close each box separately:

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 03:42

    My concrete and lendi process I suggesting you maintain back end database(like sql , mysql etc.) table for that can simple hold user_id, alert box display or not this type of 2 columns are create into that table.

    1) If your user is registered user are used visit your site using user id or detail you can manage that alert box.

    2) If user is not registered that time use MAC Id of visitor.

提交回复
热议问题