开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜