Cookies..

S

shawn

I guess this isn't a frontpage specific question as just a general cookies
question.

How do I make a cookie that only shows something once every 7 days? I have
absolutely no experience with cookies.

I have the following code:

<a id="first" href="banner/banner.jpg" rel="lightbox"></a>

I'd like that to execute once every 7 days. It pops up a picture of a trade
show we will be attending. After that show is over I replace the banner with
a new one. If there are no shows currently planned I'll have an alternate
index.html without the cookie code in it that I can replace.
 
T

Tom Willett

Google for: making web cookies
and pick what fits your needs.

--
Tom [Pepper] Willett
Microsoft MVP - FrontPage Since 1997
---------------------------
:I guess this isn't a frontpage specific question as just a general cookies
: question.
:
: How do I make a cookie that only shows something once every 7 days? I have
: absolutely no experience with cookies.
:
: I have the following code:
:
: <a id="first" href="banner/banner.jpg" rel="lightbox"></a>
:
: I'd like that to execute once every 7 days. It pops up a picture of a
trade
: show we will be attending. After that show is over I replace the banner
with
: a new one. If there are no shows currently planned I'll have an alternate
: index.html without the cookie code in it that I can replace.
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top