<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [Javascript] Re: &lt;SCRIPT</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>You can't make an &lt;a href=&quot;........&quot;&gt; fire automatically because it requires a click.</FONT>
</P>

<P><FONT SIZE=2>Your [window.location=&quot;<A HREF="http://localhost/test1/test2/test3/index.cfm" TARGET="_blank">http://localhost/test1/test2/test3/index.cfm</A>&quot;;] will fire automatically.</FONT>
</P>

<P><FONT SIZE=2>If you want the history to fire automatically, put history.back() or history.go(-1) in the &lt;HEAD&gt; section of your page before the window.location.</FONT></P>

<P><FONT SIZE=2>Remember, the JavaScript is interpreted so once a line of code causes a rediretion to another page interpretation stops.</FONT></P>

<P><FONT SIZE=2>What specifically are you trying to do?</FONT>
</P>
<BR>

<P><FONT SIZE=2>Bob Filipiak</FONT>
<BR><FONT SIZE=2>(Contractor)</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: phumes1 [<A HREF="mailto:phumes1@rogers.com">mailto:phumes1@rogers.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, March 14, 2002 8:12 AM</FONT>
<BR><FONT SIZE=2>To: javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2>Subject: [Javascript] Re: &lt;SCRIPT</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Hi,</FONT>
</P>

<P><FONT SIZE=2>How can I incorporate the &quot;history.back&quot; into the &lt;SCRIPT code below so it </FONT>
<BR><FONT SIZE=2>runs automatically?</FONT>
</P>

<P><FONT SIZE=2>&lt;a href=&quot;javascript:history.back()&quot;&gt;&lt;font </FONT>
<BR><FONT SIZE=2>class=&quot;navlinks&quot;&gt;[Back]&amp;nbsp;&lt;/font&gt;&lt;/a&gt;</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt;</FONT>
<BR><FONT SIZE=2>&lt;!--</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.location=&quot;<A HREF="http://localhost/test1/test2/test3/index.cfm" TARGET="_blank">http://localhost/test1/test2/test3/index.cfm</A>&quot;;</FONT>
<BR><FONT SIZE=2>//--&gt;</FONT>
<BR><FONT SIZE=2>&lt;/script&gt;</FONT>
</P>

</BODY>
</HTML>