Mouse over an hyper link
/*
Javascript Essentials
by Jason J. Manger
Publisher: Mcgraw-Hill Osborne Media;
ISBN: 0078822343
*/
<!--
Program 5-7
-->
<html>
<head>
<script language="JavaScript">
<!--
function clearField() {
document.forms[0].book_text.value =
"Book details will appear here<p>.";
}
var book1txt =
"Title : ESSENTIAL JAVA*:\r\n" +
"Author : Jason Manger\r\n" +
"ISBN : 0-07-709292-9\r\n\r\n" +
"A book on two of the newest technologies to hit the Web, " +
"the Java and JavaScript programming languages. A guide " +
"for novices and experts alike.";
var book2txt =
"Title : NETSCAPE NAVIGATOR:\r\n" +
"Author : Jason Manger\r\n" +
"ISBN : 0-07-709190-6\r\n\r\n" +
"An in-depth guide to the de facto Web-browser, Netscape " +
"Navigator. This book also covers HTML to level 3.0, and " +
"includes details of Navigator's news and mail " +
"facilities, as well as much more besides.";
var book3txt =
"Title : HITCH HIKING THRU CYBERSPACE: WITH NETSCAPE" +
"NAVIGATOR\r\n" +
"Author : Jason Manger\r\n" +
"ISBN : 0-07-709786-6\r\n\r\n" +
"A CD-ROM that comes in two parts. Part I arrives with a " +
"copy of Netscape Navigator and includes a hypertexted " +
"version of Jason's books: WWW Mosaic and More, Netscape " +
"Navigator and The Essential Internet Information Guide. " +
"Part II contains everything except the Navigator " +
"software. No less than 10 top tools are included, " +
"including Netmanage Chameleon TCP/IP software for " +
"Internet access. ";
var book4txt =
"Title : THE WORLD-WIDE WEB, MOSAIC AND MORE\r\n"
"Author : Jason Manger\r\n" +
"ISBN : 0-07-705170-6\r\n\r\n" +
"A guide to the popular Mosaic browser and detailed " +
"information on CGI (Common Gateway Interface) scripting, " +
"all in one book. CGI allows HTML to interface to a back " +
"end database, providing interactivity within a hypertext " +
"document.";
//-->
</script>
</head>
<body bgcolor="Silver" link="Yellow" text="White
onLoad="clearField()">
<img align="left" src="mgh5.gif" hspace=12 border=0>
<basefont size=4>
<img width=13 src="rb.gif"> Please move your mouse over a
book cover
to see details for that particular book.<p>
<center>
<table cellspacing=20 border=0>
<tr valign="bottom" align="middle">
<td>
<a href="essjava.htm"
onMouseOver = "document.forms[0].book_text.value = book1txt">
<img border=1 src="essjav1.gif">
</a>
</td>
<td>
<a href="netnav.htm"
onMouseOver = "document.forms[0].book_text.value = book2txt">
<img border=1 src="netnav.gif">
</a>
</td>
<td>
<a href="hhcs.htm"
onMouseOver = "document.forms[0].book_text.value = book3txt">
<img border=1 src="hhcs.gif">
</a>
</td>
<td>
<a href="www.htm"
onMouseOver = "document.forms[0].book_text.value = book4txt">
<img border=1 src="swwwm&m.gif">
</a>
</td>
</tr>
</table>
</center>
<center>
<form>
<textarea rows=8 cols=70 name="book_text" wrap="soft">
</textarea>
</form>
</center>
<img src="logo.gif" align="right">
</body>
</html>
Related examples in the same category