Grow your CSS skills. Land your dream job.

how can i make pop up ad on homepage only

  • # December 28, 2012 at 9:33 am

    I wonder how to make popup ad. on opening site only , not all pages and appear one time on opening only

    # December 28, 2012 at 9:52 am

    You can have the ad pop up only if a specific cookie is not set, and once they go on the first page after the ad pops up create the cookie, so as long as the cookie is still there they won’t see the ad. Or you can log their IP address in a DataBase and only show it once per IP, but that isn’t as nice IMHO….

    # December 28, 2012 at 12:25 pm

    Agreed. That is probably the most annoying thing ever. That and preventing the use of the back button.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".