/*
Javascript Essentials
by Jason J. Manger
Publisher: Mcgraw-Hill Osborne Media;
ISBN: 0078822343
*/
<html>
<head>
<script language="JavaScript">
<!--
var dateToday = new Date();
var thisDay = dateToday.getDay();
var fonts = new Array("Albertus Medium",
"Times",
"Helvetica",
"Courier",
"Albertus Extra Bold",
"Script",
"Times");
//-->
</script>
</head>
<body>
<font size="+1" face="&{ fonts[thisDay] };">
Here is some body text that has been allocated a dynamic font face
using the new <b>face</b> attribute of the <b><font></b> tag
(introduced in Netscape Navigator beta 5).</font>
</body>
</html>
|