开发者

How can I have a fancybox-like-popup on body load but with cookie for not continusly loading on reload?

开发者 https://www.devze.com 2023-02-27 07:13 出处:网络
Hello ho开发者_StackOverfloww can I have a popup box like fancybox but to be appeared only one time per visitor based on a cookie?

Hello ho开发者_StackOverfloww can I have a popup box like fancybox but to be appeared only one time per visitor based on a cookie?

Thank you for ideas and examples.


Well, you could have fancybox as you seem like it (me too by the way) along with a jquery cookie plugin. So you would check if the user has a cookie and if not show the fancybox, otherwise set the cookie so that if the same user reloads the page there is no fancy stuff happening.

0

精彩评论

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

关注公众号