I have made a box and it works with Jquery. Here is the code of Jquery:
$(function(){
setTimeout(function(){
$('.fade').show();
$('.form').show();
},2000)
$('.closebtn').click(function(){
$('.fade').hide();
$('.form').hide();
})
})
And here is the code of HTML
<div class="fade"></div> <div class="form"></div> <div class="closebtn"><a href="#">x</a></div>
Once the user click on closebtn
div, and then after refreshing the page, fade and form should not display for 24 hours. But just for that particular user who clicked on "closebtn".
Fade and Form should not work for next 24 hours on that particular ip address or computer or in that browser of that person's computer. Fade and Form can open if the webpage gets opened from any other computer.
But even if on that computer user clicks on "closebtn", than Fade and Form should not open on that computer too for next 24 hours.