Solved

image map doesn't work in netscape.

Posted on 1998-09-18
4
168 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

828 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