Trying to find a popup script

karibo

Regular Member
Joined
Jan 30, 2010
Messages
279
Reaction score
355
Hello,
I'm trying to find a pop-up script (for ads)
I've found some myself but none of them do exactly like I want them to do.
I want them to be able:
- Show a popup when you click on the page
- Only show 1 popup / 24 hours

If anyone knows where to find it, please reply :)

Thanks in advance!
-karibo-
 
Use a regular pop-up script and save every visitor's IP in the database, so you'll know if he's visited your site in the last 24 hours.

Code:
if ($visited == false)
{
     echo "Pop-up code here";
}
 
I'm not 100% sure what you mean.
My PHP skills are pretty low.

-karibo-
 
Best plan would be to setup OpenX.

Create your popup, add it as an "ad", belonging to an "advertiser", and then set your display options (once per IP every 24 hours, or whatever).

The advantage of the above is that, when you want to get more involved in advertising, or rotate your popups or ads, it's a full-blown opensource adserver, sitting there, ready to rock and roll!
 
Yeah, it'd better to sign up with some ad server, like OpenX or Epom. onRamp (by OpenX) is closed now, it was free. Epom is free for 2 months trial period
 
This should help:

w3schools --> JavaScript Popup Boxes, It has a live editor, so you can test out the code.

Sorry can't post links yet.
 
Just try this code to get the popup script

Code:
 <html><head>
<script>
function mypopup()
{
alert("Hello! I am an alert box!");
}
</script>
</head>
<body>


<input type="button" onclick="mypopup()" value="Show alert box" />


</body>
</html>
 
Back
Top