Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2007
    Location
    Norway
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need first visit pop-up to disappear forever after user clicks close

    1) Project Details:

    I have a modal pop-up that appears when a user visit my page. The code is here: http://pastebin.com/jRAgu7ZS

    This is what I need:

    When the users click the Close button I want it to disappear for ever, preferably even when they close the browser and start a new session. It should only be visible once. It should show on the first visit, but when it's closed it should never appear again.

    I think this should be quite easy for those who knows JavaScript, but I don't

    2) Payment method:

    Payment by PayPal and I need the script before in a couple of days.
    Last edited by Wombat; 11-20-2013 at 07:53 AM.

  • #2
    New Coder
    Join Date
    Feb 2012
    Location
    Finland
    Posts
    59
    Thanks
    3
    Thanked 9 Times in 9 Posts
    Hi,

    This can be easily done with cookies, its hidden until user clear his/hers browser's cookies.

    -Riku


  •  

    Posting Permissions

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