The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript how can i make pop up ad on homepage only

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #41634

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


    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….

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.