hi!here my problem again!
Can you tell me how to display image map when choose image map name from drop down menu?
help me again!
thanks for your time! good luck!

HI,
Where are you stroing image map name and image map?
While posting thread please take care of giving your requirement in brief.

sorry!
Images are stored in the same directory.

here my code, but I want to display image map and image is middle of page.(forget table)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript">

function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value
}

</script>
</head>
<body>
<table border="1" cellspacing="0" cellpadding="10">
<tr>
<td width="100%" height="350%"><form name="mygallery"><p>
<select name="picture" size="1" onChange="showimage()">
<option>choose the picture</option>
<option value="colormap.gif">Picture of color</option>
<option value="leftbar-blackfriday.jpg">Picture of sale</option>
<option value="planets.gif">Picture of planets</option>
</select>
</p>
</form>
</td>
</tr>
<tr>
<td width="200%"><p align="center"><img src="smiley.gif" name="pictures" width="199" height="100"></td>
</tr>
</table>


</body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.