[thelist] JAVASCRIPT: can pop window only once

Chris W. Parker cparker at swatgear.com
Tue Jul 16 13:59:00 CDT 2002


> -----Original Message-----
> From: Dougal Campbell [mailto:dougal at gunters.org]
> Sent: Tuesday, July 16, 2002 11:50 AM
>
> On Tue, 16 Jul 2002, Chris W. Parker wrote:
>
> > [...blah blah blah...]
> > function popThatWindow(path, winHeight, winWidth) {
> > [...blah blah blah...]
> > 	popThatWindow = window.open(path,"",sFeatures)
> > }
>
> Why are you doing that? You've just replaced your function
> with a Window
> object. Try changing it to something like:
>        myPoppedWindow = window.open(path,"",sFeatures)

why am i doing that? because like i said, i stole the code and they
obviously didn't know what they were doing.

i made your change and it works great now!!! thanks!

chris.



More information about the thelist mailing list