I am looking to automatically trigger a pop-up window when my website loads after a specific date that I define within a function.
How can I set up the date function for this task? I want the pop-up window to appear automatically on 27/07/2011
, and every time after that when the website is opened. Any suggestions?
<script type="text/javascript">
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=600,width=605,left=4,top=4,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes')
}
</script>