Font array and date : Font : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Font »

 

Font array and date



<html>
<head>
<script language="JavaScript">
<!--
 var dateToday = new Date();
 var thisDay   = dateToday.getDay();
 var fonts     = new Array("Albertus Medium""Times","Helvetica","Courier");
//-->
</script>
</head>
<body>
<font size="+1" face="&{ fonts[thisDay] };">
font</font>
</body>
</html>

           
       



-

Leave a Comment / Note


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

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Font