开发者

Stop displaying Popup On every page refresh

开发者 https://www.devze.com 2022-12-24 18:49 出处:网络
I need to stop displaying t开发者_Go百科he Modal Popup Extender on page refresh and when browser back button is clicked.Please suggest me to find out the solution.I take it you\'re talking javascript?

I need to stop displaying t开发者_Go百科he Modal Popup Extender on page refresh and when browser back button is clicked.Please suggest me to find out the solution.


I take it you're talking javascript?

You probably need to save a cookie after the first 'show'. Then check this each time - if it's present, don't show it again.


I don't know what the Modal Popup Extender is, but the standard procedure is as follows:

Once you opened your popup, you should set a cookie to remember you already opened it. Next time you come across this piece of code, you have to check for the cookie first and skip opening the popup if it's there.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号