Solved

image map doesn't work in netscape.

Posted on 1998-09-18
4
165 Views
Last Modified: 2010-04-09
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
Comment
Question by:hunchback
  • 2
4 Comments
 
LVL 8

Expert Comment

by:jbirk
ID: 1837908
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
 

Accepted Solution

by:
jervis earned 50 total points
ID: 1837909
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
 
LVL 8

Expert Comment

by:jbirk
ID: 1837910
Good eye jervis!
-Josh
0
 

Author Comment

by:hunchback
ID: 1837911
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now