How to put popup notification on site?

Scorpion Ghost

Elite Member
Executive VIP
Jr. VIP
Joined
Mar 22, 2013
Messages
9,150
Reaction score
10,490
Say you have simple .php page, a classic one, starts with <head> <body> <html> and ends with </head> </body> </html>, just a classic simple basic page.

How can I add a popup notification on it, which will appear in the middle of the page when a user visits the page, and will have a Close or X button to so a user can close it?

I don't need any slick shit, just to look decent. The notification can appear on every page load/reload, no cookie required to remember the user and not show it to them again or anything like that.

Thanks
 
I'm trying to do this now. It's not going great. I don't want a fucking button that opens the popup. I just want, a popup, that pops up when the page loads.
 
Whoops, actually it didn't work all the way. For some reason the site loads and popup box appears, but when I click X to close it, the page just goes blank.
 
I'm installing popupbloker.com on my computer so that when I go to the OP's site I don't get popped up.

I already have scars on my face from getting punched out and do not want to add to them.
 
I'm installing popupbloker.com on my computer so that when I go to the OP's site I don't get popped up.

I already have scars on my face from getting punched out and do not want to add to them.

I'm installing the popupblokerdisabler.com on my site as countermeasure :D
 
Look at the code from head to /head add the code but only from script to /script

Then use the last bit of code in the HTML
 
Look at the code from head to /head add the code but only from script to /script

Then use the last bit of code in the HTML

Well, I put script to /script below head

And I put div to /div above /body

Nothing happened.

I don't know how to make it work.
 
Are you sure you not got any add blocker on your PC sounds madness
 
Back
Top