Hi,
I have an image on the website. When I click on that image a popup windows should open show a message saying "For demo call 123-123-1234" and if the client clicks during the night (9Pm to 7AM) he should get a form which accepts his email address and on submit sends to "abc@abc.com"
How would I do that.
Nainil C.
Try something like this:
$hour = strftime("%H",time()); if($hour >= 21 || $hour < 7){ //code to show the form } else{ //code to print the phone number }