My current stupidity

by "Keith Parker" <diades(at)diades.screaming.net>

 Date:  Wed, 31 May 2000 09:36:37 +0100
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
Hi,

I  am going nuts!  The script below (between the marks "+++++++") is created
dynamically via an ASP and works perfectly within IE5.  The script is
changed for NN to comply with its standard i.e., "id" becomes "name" for the
"<IMG>" tag:
=====================================
<form name="mainmenu">
</form>
<br>
<p>
<img src="images/site/beta.jpg" height="21px" width="75px"
vspace="10px"><br>

+++++++

<a id="mnu_btn_1" href="#"
onMouseOver="document.images.mnu_services.src=&#39;images/site/mnu_services.
jpg&#39;"
onMouseOut="document.images.mnu_services.src=&#39;images/site/mnu_services_d
.jpg&#39;"><img id="mnu_services" border="0"
src="images/site/mnu_services_d.jpg" height="15px" width="127px"
title="Services"></a>
<a id="mnu_btn_2" href="#"
onMouseOver="document.images.mnu_press.src=&#39;images/site/mnu_press.jpg&#3
9;"
onMouseOut="document.images.mnu_press.src=&#39;images/site/mnu_press_d.jpg&#
39;"><img id="mnu_press" border="0" src="images/site/mnu_press_d.jpg"
height="15px" width="127px" title="Press Reviews"></a>
<a id="mnu_btn_3" href="#"
onMouseOver="document.images.mnu_profile.src=&#39;images/site/mnu_profile.jp
g&#39;"
onMouseOut="document.images.mnu_profile.src=&#39;images/site/mnu_profile_d.j
pg&#39;"><img id="mnu_profile" border="0"
src="images/site/mnu_profile_d.jpg" height="15px" width="127px"
title="Company Profile"></a>
<a id="mnu_btn_4" href="#"
onMouseOver="document.images.mnu_capability.src=&#39;images/site/mnu_capabil
ity.jpg&#39;"
onMouseOut="document.images.mnu_capability.src=&#39;images/site/mnu_capabili
ty_d.jpg&#39;"><img id="mnu_capability" border="0"
src="images/site/mnu_capability_d.jpg" height="15px" width="127px"
title="Areas of Operation"></a>
<a id="mnu_btn_5" href="#"
onMouseOver="document.images.mnu_benefits.src=&#39;images/site/mnu_benefits.
jpg&#39;"
onMouseOut="document.images.mnu_benefits.src=&#39;images/site/mnu_benefits_d
.jpg&#39;"><img id="mnu_benefits" border="0"
src="images/site/mnu_benefits_d.jpg" height="15px" width="127px"
title="Benefits of Outsourcing"></a>
<a id="mnu_btn_6" href="#"
onMouseOver="document.images.mnu_process.src=&#39;images/site/mnu_process.jp
g&#39;"
onMouseOut="document.images.mnu_process.src=&#39;images/site/mnu_process_d.j
pg&#39;"><img id="mnu_process" border="0"
src="images/site/mnu_process_d.jpg" height="15px" width="127px" title="How
the Process Works"></a>
<a id="mnu_btn_7" href="#"
onMouseOver="document.images.mnu_quality.src=&#39;images/site/mnu_quality.jp
g&#39;"
onMouseOut="document.images.mnu_quality.src=&#39;images/site/mnu_quality_d.j
pg&#39;"><img id="mnu_quality" border="0"
src="images/site/mnu_quality_d.jpg" height="15px" width="127px"
title="Ensuring a Quality Service"></a>
<a id="mnu_btn_8" href="#"
onMouseOver="document.images.mnu_case.src=&#39;images/site/mnu_case.jpg&#39;
"
onMouseOut="document.images.mnu_case.src=&#39;images/site/mnu_case_d.jpg&#39
;"><img id="mnu_case" border="0" src="images/site/mnu_case_d.jpg"
height="15px" width="127px" title="Case Studies"></a>
<a id="mnu_btn_9" href="#"
onMouseOver="document.images.mnu_docs.src=&#39;images/site/mnu_docs.jpg&#39;
"
onMouseOut="document.images.mnu_docs.src=&#39;images/site/mnu_docs_d.jpg&#39
;"><img id="mnu_docs" border="0" src="images/site/mnu_docs_d.jpg"
height="15px" width="127px" title="Download Documentation"></a>

+++++++

<br>
<img src="images/site/bn_b2.jpg" height="15px" width="127px">
<br>
<a id="mnu_btn_10" href="#"
onMouseOver="document.images.mnu_contact.src=&#39;images/site/mnu_contact.jp
g&#39;"
onMouseOut="document.images.mnu_contact.src=&#39;images/site/mnu_contact_d.j
pg&#39;"><img id="mnu_contact" border="0"
src="images/site/mnu_contact_d.jpg" height="15px" width="127px"
title="Contact Us"></a>
</p>
<script language="JavaScript" type="text/javascript">
<!--
keys = new Array("r1","r2","r3","r4","r5","r6","r7","r43","r44")
.//-->
</script>
=====================================

The problem is that, in NN (4.7), the button do not activate at all, they
will not comply with the mouseover etc or acknowledge the fact that they are
links.  They are dormant pictures. if the border property of the mnu_contact
tag is set to 1 then the contact link becomes active at its very edge. if
the others are also set to 1, then the contact link becomes active but the
rest remain dormant.

I cannot see what the problem is can anyone help?

Cheers,

Keith

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA