Hi
can I use JS in order to show my site in particular days?
for example if I want that on every Sunday my site will print such a message as : "This is Sunday. The site will be back on Monday"
how can I do it?
Thank you very much![]()
Hi
can I use JS in order to show my site in particular days?
for example if I want that on every Sunday my site will print such a message as : "This is Sunday. The site will be back on Monday"
how can I do it?
Thank you very much![]()
I think it is able with php. Like:
I know that is it possible with JS and i don't know, if my way will work. But tryCode:<?php if(date("D") == "Sun"){ echo"Today is Sunday. The site will be back on Monday"; } else{ ?> Here goes your site. <?php } ?>![]()
d-machine (07-01-2008)
first of all thank you very much!
but my site is working with ASP..![]()
Ok. Try this:
Code:<script type="text/javascript"> var mytime = new Date(); var myday = mytime.getDay(); if(myday == 0){ document.write("Here you go..."); } </script>
d-machine (07-01-2008)
THANK YOU SO MUCH !!!!
You're genius![]()
Bookmarks