SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot onlyreal's Avatar
    Join Date
    Jan 2001
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    i need help pop up limit

    hi
    i dont want my visitor to see pop up more than one time in 24 hours period

    how can i do it
    thanks

  2. #2
    ALT.NET - because we need it silver trophybronze trophy dhtmlgod's Avatar
    Join Date
    Jul 2001
    Location
    Scotland
    Posts
    4,836
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could write a cookie, either client side or server side, with the date in it.

    when some1 visits the site. check to see if they have a cookie, is so, compare the dates, if a certain time has passed, make the pop-up appear, if not, dont make the pop-up appear. If there isnt a cookie, make the pop-up appear and create the cookie

  3. #3
    SitePoint Zealot onlyreal's Avatar
    Join Date
    Jan 2001
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you say how can

    can you write code in here


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
  •