<!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] pop up window works only once, but works again with reload</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>What page do you need to refresh? What is the code for BlockBaseSR.htm? </FONT>
<BR><FONT SIZE=2>Also IMHO you should not use lil_window the var even though it is local to lil_window the function. Try declaring var lil_win as a global andassigning it inside your lil_window()</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: Andrea Poulimenos [<A HREF="mailto:alps33@yahoo.com">mailto:alps33@yahoo.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, August 02, 2001 1:36 PM</FONT>
<BR><FONT SIZE=2>To: javascript@LaTech.edu</FONT>
<BR><FONT SIZE=2>Subject: [Javascript] pop up window works only once, but works again</FONT>
<BR><FONT SIZE=2>with reload</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi :) First off, I am really new to javascript (3</FONT>
<BR><FONT SIZE=2>days), but I'm not new to programming languages/logic.</FONT>
<BR><FONT SIZE=2>(Thought I'd just warn you.)&nbsp; ;)</FONT>
</P>

<P><FONT SIZE=2>Want:</FONT>
<BR><FONT SIZE=2>little popup window, no options except to close(no</FONT>
<BR><FONT SIZE=2>scrolling, etc.), presized, showing up at a certain</FONT>
<BR><FONT SIZE=2>location on the screen</FONT>
</P>

<P><FONT SIZE=2>My solution:</FONT>
</P>

<P><FONT SIZE=2>&lt;head&gt;</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>function lil_window()</FONT>
<BR><FONT SIZE=2>{lil_window=window.open(&quot;BlockBaseSR.htm&quot;, &quot;plain&quot;,</FONT>
<BR><FONT SIZE=2>&quot;width=340,height=220,screenX=450,screenY=220,left=450,top=220&quot;);</FONT>
<BR><FONT SIZE=2>}</FONT>
<BR><FONT SIZE=2>&lt;/head&gt;</FONT>
<BR><FONT SIZE=2>&lt;body&gt;</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>&lt;a href=&quot;BlockBaseSR.htm&quot; onClick=&quot;lil_window();</FONT>
<BR><FONT SIZE=2>return false;&quot;&gt;Click here for System Requirements&lt;/a&gt; </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;noscript&gt;&lt;a href=&quot;BlockBaseSR.htm&quot;</FONT>
<BR><FONT SIZE=2>target=&quot;_blank&quot;&gt; Click here for System</FONT>
<BR><FONT SIZE=2>Requirements&lt;/a&gt;&lt;/noscript&gt;</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>&lt;/body&gt;</FONT>
</P>

<P><FONT SIZE=2>Problem:</FONT>
<BR><FONT SIZE=2>Link works only once.&nbsp; You need to refresh the page to</FONT>
<BR><FONT SIZE=2>view the popup window again. I have no idea what's</FONT>
<BR><FONT SIZE=2>going wrong.</FONT>
</P>

<P><FONT SIZE=2>What's your solution?</FONT>
</P>

<P><FONT SIZE=2>Thanks</FONT>
</P>

<P><FONT SIZE=2>-Andrea</FONT>
</P>

<P><FONT SIZE=2>__________________________________________________</FONT>
<BR><FONT SIZE=2>Do You Yahoo!?</FONT>
<BR><FONT SIZE=2>Make international calls for as low as $.04/minute with Yahoo! Messenger</FONT>
<BR><FONT SIZE=2><A HREF="http://phonecard.yahoo.com/" TARGET="_blank">http://phonecard.yahoo.com/</A></FONT>
<BR><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 HREF="http://www.LaTech.edu/mailman/listinfo/javascript" TARGET="_blank">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P>

</BODY>
</HTML>