PHP Alert script
Anyone know if it's possible to generate an advisory alert window using php, if so, can they post the code? I've been searching and have come up with one using Java, but was wondering if this was possible with php?
I have a poetry section on my site that will contain a section which will display adult type content. I'd like for viewers that choose to view the content in this section to be greeted with an alert window at the beginning and end of each page that's viewed provding them with an option to continue or exit to the default page.
In other words:
1. The user clicks the link to view the content and gets an alert advising on the nature of content and asked to continue or exit to the default page.
2. Before the page finish loading; the user gets another alert asking the same question.
I'd like to have it happen 3 times, that way the user has a full understanding of what they're about to get in to. I'm not sure if it matters if you use java or php, but I figure I'd ask and see.
Any help on this is appreciated.
Just Do It...