SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Addict Philip Toews's Avatar
    Join Date
    Dec 2001
    Location
    Kuala Belait, Brunei
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help with a javascript & cookie script

    Hi folks,

    I know NOTHING about javascript but wish to implement a pop-up for all first time site visitors and then every three months or so. Digging around sitepoint I found this script

    How do I adjust the expiry of the cookie...I can see the numbers on line 48 but I don't really understand them...basically I want the cookie to show up every three months or so...

    Later I'll change it by setting a cookie with PHP that only shows the pop-up if a visitor is not subscribed to the newsletter...but that's for another day...

    TIA
    Last edited by Philip Toews; Jul 15, 2002 at 13:02.
    Philip Toews Professional esl Educator and ASP.NET wannabe

    http://www.philiptoews.com
    philip@philiptoews.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •