• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

image map doesn't work in netscape.

I have the following codes with an image map which works on IE but not on netscape - what gives?
______________________________________________
<HTML>
<HEAD>
<title> Health Service</title>
<META NAME = "DC.Title" LANG = "en" CONTENT = "Put the Title Here">
</head>
<body bgcolor="#FFFFFF" background="images/background.gif">

<center>
<table border="0" cellspacing="0" cellpadding="0"
<TR>
<center><A href="about/about.html"><img src="images/ccahs.gif" width=350 border=0 alt="Central Coast Area Health Service" ></center><center></A>
<img src="images/mhs.gif"  border=0 alt="Health Service"></center><TD border=0>

<!-- Beginning of CSIM -->
<center><IMG SRC="bubblestest.gif" USEMAP="#bubblestest" BORDER=0></center>
<MAP NAME="bubblestest">
  <AREA SHAPE=CIRCLE COORDS="44,142,44" HREF="clinic/mandala.html"  ALT="Clinic"  TARGET="_top"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status=''; return true">
  <AREA SHAPE=CIRCLE COORDS="140,146,63" HREF="yp/yp.html"  ALT="Young Peoples Health"  TARGET="_top"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status=''; return true">
  <AREA SHAPE=CIRCLE COORDS="235,64,64" HREF="rehab/rehab.html"  ALT="Rehabilitation Services"  TARGET="_top"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status=''; return true">
  <AREA SHAPE=CIRCLE COORDS="420,141,46" HREF="care/care.html"  ALT="Acute Care Team"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status=''; return true">
  <AREA SHAPE=CIRCLE COORDS="235,230,63" HREF="community/community.html"  ALT="Community Health Services"  TARGET="_top"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status=''; return true">
  <AREA SHAPE=CIRCLE COORDS="329,148,63" HREF="pp/pp.html"  ALT="Health Promotion & Prevention"  TARGET="_top"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status='Health Promotion & Prevention'; return true">
  <AREA SHAPE=CIRCLE COORDS="234,144,39" HREF="central/central.html"  ALT="Central Intake"  OnMouseOut="window.status=''; return true"  OnMouseOver="window.status=''; return true">
</MAP>

<A href="about/about.html"><img src="images/ats.gif" height=22 border=0 alt="About This Site" ismap></a><a href="contact/contact.html"><img src="images/sr.gif" height=22 border=0 alt="Other Health Services & Resources"></A><a href="consumer/consumer.html"><img src="images/ci.gif" height=22 border=0 alt="Information"></A><a href="feedback/feedback.html"><img src="images/yc.gif" height=22 border=0 alt="Your Comments"></A>


<!--#include virtual="/templates/footer.html"-->
</CENTER>
</BODY>
</HTML>
0
hunchback
Asked:
hunchback
  • 2
1 Solution
 
jbirkCommented:
hmm.. everything looks in order.  Could you possibly supply a url, so I could goto it and reproduce the error myself so I can see what is going on?
-Josh
0
 
jervisCommented:
Remove the following tags from your source code:

<table border="0" cellspacing="0" cellpadding="0">
<TR>
and
<TD border=0>

Either build a real table or do not use table elements at all. Netscape does not render incomplete tables, Internet Explorer does.
Also try to put your imagemap before the actual <img> tag, so the browser has the map handy when it needs it.

Table example:
<table>
<tr>
  <td>1</td>
  <td>2</td>
</tr><tr>
  <td>3</td>
  <td>4</td>
</tr>
</table>

0
 
jbirkCommented:
Good eye jervis!
-Josh
0
 
hunchbackAuthor Commented:
yes jervis your right! pagemill didn't give any error on my tags ..IE didn't mind the errors but netscape didn't like it.

thanks for helping
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now