esntric
02-11-2003, 11:46 PM
<html>
<head>
<title>Map Test 1</title>
</head>
<body bgcolor="#000000">
<center>
<br>
<br>
<br>
<br>
<img src="9.gif" usemap="#test1" width="639" height="399" border=0>
<map name="test1">
<area shape=poly coords="359,107,360,107,361,106,362,106,363,105,367,105,368,106,369,107,369,108,370,109,369,110,368,110,367, 111,366,112,365,111,361,111,359,109,359,107" href="javascript: chng('Test','Why is this not working?') ;" alt="Test" title="Test" onMouseOver="window.status='Map Test'; return true">
</map>
</center>
<table align="center">
<tr>
<td><div id="Test"></div></td>
</tr>
</table>
</body>
</html>
What is it that I'm doing wrong? :confused:
The link itself works fine when I use it to link to another page. But I can not get the link to function with the javascript command. When I click the link it says that there is an error. The javascript works fine alone.
So what is it that I have done wrong? :D
<head>
<title>Map Test 1</title>
</head>
<body bgcolor="#000000">
<center>
<br>
<br>
<br>
<br>
<img src="9.gif" usemap="#test1" width="639" height="399" border=0>
<map name="test1">
<area shape=poly coords="359,107,360,107,361,106,362,106,363,105,367,105,368,106,369,107,369,108,370,109,369,110,368,110,367, 111,366,112,365,111,361,111,359,109,359,107" href="javascript: chng('Test','Why is this not working?') ;" alt="Test" title="Test" onMouseOver="window.status='Map Test'; return true">
</map>
</center>
<table align="center">
<tr>
<td><div id="Test"></div></td>
</tr>
</table>
</body>
</html>
What is it that I'm doing wrong? :confused:
The link itself works fine when I use it to link to another page. But I can not get the link to function with the javascript command. When I click the link it says that there is an error. The javascript works fine alone.
So what is it that I have done wrong? :D