<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] Problem changing link's href property...</TITLE>

<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=099181314-13072001><FONT face=Arial color=#800000 size=2>Still 
saying it's null or not an object.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Filipiak, Bob (Contractor) 
  [mailto:filipiab@atsc.army.mil]<BR><B>Sent:</B> Friday, July 13, 2001 9:47 
  AM<BR><B>To:</B> 'javascript@LaTech.edu'<BR><B>Subject:</B> RE: [Javascript] 
  Problem changing link's href property...<BR><BR></FONT></DIV>
  <P><FONT size=2>Try document.JumpTo.href</FONT> </P>
  <P><FONT size=2>Bob Filipiak (Contractor)</FONT> <BR><FONT size=2>MCP 
  </FONT></P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Chris 
  Nafziger [<A 
  href="mailto:CNafziger@sauder.com">mailto:CNafziger@sauder.com</A>]</FONT> 
  <BR><FONT size=2>Sent: Friday, July 13, 2001 9:41 AM</FONT> <BR><FONT 
  size=2>To: 'javascript@LaTech.edu'</FONT> <BR><FONT size=2>Subject: RE: 
  [Javascript] Problem changing link's href property...</FONT> </P><BR>
  <P><FONT size=2>It didn't help.</FONT> </P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
  Anthony E. [<A 
  href="mailto:apwebdesign@yahoo.com">mailto:apwebdesign@yahoo.com</A>]</FONT> 
  <BR><FONT size=2>Sent: Thursday, July 12, 2001 7:38 PM</FONT> <BR><FONT 
  size=2>To: javascript@LaTech.edu</FONT> <BR><FONT size=2>Subject: Re: 
  [Javascript] Problem changing link's href property...</FONT> </P><BR>
  <P><FONT size=2>try </FONT></P>
  <P><FONT size=2>document.link.jumpTo.href = '/newpath/file.html';</FONT> 
  </P><BR><BR>
  <P><FONT size=2>--- Chris Nafziger &lt;CNafziger@sauder.com&gt; wrote:</FONT> 
  <BR><FONT size=2>&gt; I'm having a problem with the function below.&nbsp; 
  The</FONT> <BR><FONT size=2>&gt; first two lines do what</FONT> <BR><FONT 
  size=2>&gt; they are supposed to do just fine.&nbsp; The third line</FONT> 
  <BR><FONT size=2>&gt; does manage to change the</FONT> <BR><FONT size=2>&gt; 
  URL of the link, however it only works if I use the</FONT> <BR><FONT 
  size=2>&gt; ID of zero that you see.</FONT> <BR><FONT size=2>&gt; If I replace 
  the the zero with the value assigned to</FONT> <BR><FONT size=2>&gt; the 
  link's name</FONT> <BR><FONT size=2>&gt; property, 'JumpTo', similar to the 
  first two</FONT> <BR><FONT size=2>&gt; function lines, the error</FONT> 
  <BR><FONT size=2>&gt; 'document.links.JumpTo' is null or not an object</FONT> 
  <BR><FONT size=2>&gt; comes up.&nbsp; Why can't I use</FONT> <BR><FONT 
  size=2>&gt; the link's name property value for the reference</FONT> <BR><FONT 
  size=2>&gt; like I did with the images?</FONT> <BR><FONT size=2>&gt; 
  </FONT><BR><FONT size=2>&gt; </FONT><BR><FONT size=2>&gt; // Function that 
  swaps two images and changes the</FONT> <BR><FONT size=2>&gt; link URL 
  </FONT><BR><FONT size=2>&gt; // when one of the swatch image's onMouseover 
  event</FONT> <BR><FONT size=2>&gt; fires.</FONT> <BR><FONT size=2>&gt; 
  </FONT><BR><FONT size=2>&gt; function imageOn(i)</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; { </FONT><BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; document.images["Unit"].src = 
  UnitImages[i].src;</FONT> <BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  document.images["UnitNumber"].src =</FONT> <BR><FONT size=2>&gt; 
  UnitNumberImages[i].src;</FONT> <BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  document.links[0].href = Page[i] </FONT><BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT> <BR><FONT size=2>&gt; 
  </FONT><BR><FONT size=2>&gt; &lt;a href="LinkToPage.asp" name="JumpTo"</FONT> 
  <BR><FONT size=2>&gt; id="JumpTo"&gt;Link&lt;/a&gt;</FONT> <BR><FONT 
  size=2>&gt; </FONT><BR><FONT size=2>&gt; 
  _______________________________________________</FONT> <BR><FONT size=2>&gt; 
  Javascript mailing list</FONT> <BR><FONT size=2>&gt; 
  Javascript@LaTech.edu</FONT> <BR><FONT size=2>&gt; <A target=_blank 
  href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT> 
  </P><BR>
  <P><FONT size=2>__________________________________________________</FONT> 
  <BR><FONT size=2>Do You Yahoo!?</FONT> <BR><FONT size=2>Get personalized email 
  addresses from Yahoo! Mail</FONT> <BR><FONT size=2><A target=_blank 
  href="http://personal.mail.yahoo.com/">http://personal.mail.yahoo.com/</A></FONT> 
  </P>
  <P><FONT size=2>_______________________________________________</FONT> 
  <BR><FONT size=2>Javascript mailing list</FONT> <BR><FONT 
  size=2>Javascript@LaTech.edu</FONT> <BR><FONT size=2><A target=_blank 
  href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT> 
  </P>
  <P><FONT size=2>_______________________________________________</FONT> 
  <BR><FONT size=2>Javascript mailing list</FONT> <BR><FONT 
  size=2>Javascript@LaTech.edu</FONT> <BR><FONT size=2><A target=_blank 
  href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT> 
  </P></BLOCKQUOTE></BODY></HTML>