how can I make this banner appear only once ??

Discussion in 'JavaScript' started by A.G, Dec 28, 2008.

  1. #1
    Hello,

    I have this banner code

    <a href="http://www.mysite.com"><img src="http://mysite.com/banner.gif"></a>

    how can I add a cookies to make this simple banner code appear only once , because I don't want to install a whole ad management script for it

    anybody have an idea ?
     
    A.G, Dec 28, 2008 IP
  2. hackfanatic

    hackfanatic Peon

    Messages:
    29
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    w3schools.com/JS/js_cookies.asp

    i cant post live links yet.. :O

    use document.write and display the banner only if the cookie dosent exist :)
     
    hackfanatic, Dec 28, 2008 IP
    A.G likes this.
  3. A.G

    A.G Well-Known Member

    Messages:
    2,510
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    150
    #3
    thanks but I have no idea how to implement that example

    look if you can make it for me so banner appear only once per 24h or 6hours
    I will pay you fast 5$ by LibertyReserve or WebMoney
     
    A.G, Dec 28, 2008 IP
  4. sarkozy1

    sarkozy1 Active Member

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #4
    use daily image (Day-of-the-week image displayer) script from phpscripts.9hz.com so put your banner if you want i can do that for 10$ lr for you pm me
     
    sarkozy1, Dec 30, 2008 IP
  5. manjifera

    manjifera Well-Known Member

    Messages:
    232
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    118
    #5
    will do it for you but need payment via paypal.
     
    manjifera, Jan 3, 2009 IP