Mega Code Archive

 
Categories / JavaScript DHTML / Development
 

Time value

<script language="JavaScript"> <!--   today   = new Date();   minutes = today.getMinutes();   if (minutes >=0 && minutes <= 30)      document.write("<body text=White bgcolor=Blue>");   else      document.write("<body text=White bgcolor=Black>"); //--> </script> This is the body of the document.<p> </body>