Time value : Time : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » Time »

 

Time value



<script language="JavaScript">
<!--
  today   = new Date();
  minutes = today.getMinutes();
  if (minutes >=&& 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>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» Time