http://www.kimbruce.biz/pages/Painting/Razor/A_ Raz.htm
I am using Netscape 7.2 and have 4 as well - doesn't work in either
:
Show me that page, please.
Event handlers applied to anchor tags will work in all browsers.
--
Murray
============
Hi Murrary
Thanks I did as you said - looks like I made alot of unessary work for
my
self from the get go. The one page that I changed works in Explorer
but
still
doesn't work in Netscape. Any ideas?
Thanks kim
:
Here's what you are doing there. You are creating an image map to
apply
a
behavior to the hotspot over the image, when you could in fact, apply
that
behavior directly to an <a> tag around that image. Unfortunately, FP
2003
doesn't give you a good way (that I could find) to do this, as it
wants
to
always apply the event handers (the mouse events) directly into the
<img>
tag (which is the wrong way to do it).
Nevertheless, you have this -
<map name="FPMap4">
<area coords="8, 6, 111, 92" shape="rect"
href="#img">
</map>
<a
onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'../../../images/painting/3-Razor/Roc1.JPG')">
<img border="0"
src="../../../images/painting/3-Razor/T/t-Roc1.JPG"
width="134" height="100" usemap="#FPMap4"></a>
(note the redundant use of a hotspot that matches the image's
dimensions)
and you could (and should) have this -
<a
onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'../../../images/painting/3-Razor/Roc1.JPG')"
href="#img">
<img border="0"
src="../../../images/painting/3-Razor/T/t-Roc1.JPG"
width="134" height="100"></a>
In other words, there is no need at all to use an image map there.
Worse, yet, you have this later on -
<map name="FPMap5">
<area href="#img" shape="rect"
coords="7, 7, 114, 85">
</map><img
src="../../../images/painting/3-Razor/T/t-Roc2.JPG"
width="136" height="100" border="0" usemap="#FPMap5"
onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'../../../images/painting/3-Razor/Roc2.JPG')">
(note the onclick applied directly within the <img> tag)
and this should be as follows -
<a href="#img"
onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'../../../images/painting/3-Razor/Roc2.JPG')"><img
src="../../../images/painting/3-Razor/T/t-Roc2.JPG" width="136"
height="100"
border="0">
The same is true on your other image maps.
FP has done you no favor writing the markup like this. Unfortunately
you
will have to read this post carefully, and understand what I am
describing
before you make the changes directly to the HTML yourself.
--
Murray
============
yes thankyou
http://www.kimbruce.biz/pages/Painting/Razor/A_ Raz.htmhankyou
i pretty much used the onclick swap image on all these pages. I
started
to
redo the pages to be individual but thought that there has to be a
way
:
Can you just post a link to the page so I can see the whole thing?
--
Murray
============
Okay I'm new at this so pls bear with me. I used the onclick in
order
to
swap
images elsewhere in the page from the thumbs and it works in
explorer
once
I
allow active content, I doesn't work in Netscape at all (can't
find
a
way
to
release active content). But ultimately I would like it to work
in
both
with
out having to do anything to release active content. This is
what is
in
my
page?
href="#img">
<area name="image"
onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'../../../images/painting/3-Razor/Roc1.JPG')"
href="#image" coords="0, 0, 10000, 10000"
shape="rect">
</map>
<a
onclick="FP_swapImg(1,0,/*id*/'img2',/*url*/'../../../images/sculpture/Warrior/2_1.jpg')">
<img border="0"
src="../../../images/sculpture/Warrior/T/2_1.jpg"
width="100" height="100" usemap="#FPMap4"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td nowrap bgcolor="#FFFFFF" height="46" width="100%">
<!-- MSCellFormattingType="footer" -->
<table border="0" width="100%" height="100%"
cellpadding="5" cellspacing="0">
<tr>
<td width="100%" height="100%" valign="middle">
<strong>Mettleus, 2003 </strong><br>
7"w x 3"d x 9"ht <br>
<a href="../more.htm" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image20','','../graphics/more1.png',1)"><br>
</a></td>
:
Where have you PLACED those attributes? And what doctype are
you
validating
for?
The on<mouse> attributes are supported in all browsers when
placed
on
<a>
tags, but you will encounter flaky support when they are placed
on
other
tags like <font>, <p>, <img>, etc....
--
Murray
============
I did a brower compatibility report and found that onclick
and
mouseover
attributes are not supported. How do I formate my pages to
get
Netscape
&
Explorer to accept them?