Re: My current stupidity

by "Cyanide _7" <leo7278(at)hotmail.com>

 Date:  Wed, 31 May 2000 11:32:23 CDT
 To:  diades(at)diades.screaming.net
 Cc:  hwg-languages(at)hwg.org
  todo: View Thread, Original
you have defined an id/name for each Anchor. i believe this is causing the 
browser to create a target rather than a link. i can see no real use for 
them, so i suggest taking them out completely. - Cyanide_7

>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='images/site/mnu_services.
>jpg'"
>onMouseOut="document.images.mnu_services.src='images/site/mnu_services_d
>.jpg'"><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='images/site/mnu_press.jpg
>9;"
>onMouseOut="document.images.mnu_press.src='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='images/site/mnu_profile.jp
>g'"
>onMouseOut="document.images.mnu_profile.src='images/site/mnu_profile_d.j
>pg'"><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='images/site/mnu_capabil
>ity.jpg'"
>onMouseOut="document.images.mnu_capability.src='images/site/mnu_capabili
>ty_d.jpg'"><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='images/site/mnu_benefits.
>jpg'"
>onMouseOut="document.images.mnu_benefits.src='images/site/mnu_benefits_d
>.jpg'"><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='images/site/mnu_process.jp
>g'"
>onMouseOut="document.images.mnu_process.src='images/site/mnu_process_d.j
>pg'"><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='images/site/mnu_quality.jp
>g'"
>onMouseOut="document.images.mnu_quality.src='images/site/mnu_quality_d.j
>pg'"><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='images/site/mnu_case.jpg'
>"
>onMouseOut="document.images.mnu_case.src='images/site/mnu_case_d.jpg'
>;"><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='images/site/mnu_docs.jpg'
>"
>onMouseOut="document.images.mnu_docs.src='images/site/mnu_docs_d.jpg'
>;"><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='images/site/mnu_contact.jp
>g'"
>onMouseOut="document.images.mnu_contact.src='images/site/mnu_contact_d.j
>pg'"><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
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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