WEB This little script make popup only appear once, but need little edit

Discussion in 'OT Technology' started by basketmen, Jul 17, 2009.

  1. basketmen

    basketmen New Member

    Joined:
    Jan 31, 2007
    Messages:
    119
    Likes Received:
    0
    Hi guys

    below script is working to make popup only appear once in our website, but maybe its need some edit/fix



    For example its working
    first, user go to yourdomain.com/01/01/2009/title/ page -> then the popup appear
    then the user go to yourdomain.com/01/01/2009/title/2.html page -> the popup NOT appear, so the script is working to make popup only appear once :)


    but its not working if the user go to another path/folder, for example
    first, user go to yourdomain.com/01/01/2009/title/ page -> then the popup appear
    then the user go to yourdomain.com/01/01/2009/title2/ page -> the popup APPEAR AGAIN, so the script is not working if the path/folder different, still in same domain :(




    this script is from ozzu.com/programming-forum/make-popup-only-appear-once-t22666.html














    i had try removing the part in red above or only one of them, but its still appear if change to other path/folder, still in same domain, please help to fix it guys not appear again in entire yourdomain.com, whatever the path is

    or if you have other script to make popup only appear once for each user, its good if you share it too guys
     
    Last edited: Jul 17, 2009

Share This Page