cookie

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Julianne

    cookie

    I want to add a floating layer box to a page (like this:
    http://codelifter.com/main/javascrip...ablelayer.html ), but would like to
    add a cookie that would stop it from appearing to those who have already
    visited the page before. Does anyone know of where I could find a written
    cookie like that, or how I would go about it?

    Thanks,

    Julianne
  • kaeli

    #2
    Re: cookie

    In article <20040119142955 .28408.00000304 @mb-m01.aol.com>,
    julianne@aol.co mnospm enlightened us with...[color=blue]
    > I want to add a floating layer box to a page (like this:
    > http://codelifter.com/main/javascrip...ablelayer.html ), but would like to
    > add a cookie that would stop it from appearing to those who have already
    > visited the page before. Does anyone know of where I could find a written
    > cookie like that, or how I would go about it?[/color]



    Just write a cookie, then check for it before writing the layer. Google
    for javascript cookie. Look in the archives here and you'll find my
    posted cookie code, too.

    FYI: Paranoid people like me clear cookies and the cache daily. That
    layer would be enough to make me not visit the site. It's annoying even
    once.


    --
    --
    ~kaeli~
    Hey, if you got it flaunt it! If you don't stare at someone
    who does. Just don't lick the TV screen, it leaves streaks.



    Comment

    Working...