L
liu
I have some thumbnails and once clicked it creates a new window. I
don't want extra windows everywhere so I'd like it to auto-close when
it's in the background.
I've found <body onBlur="self.close()" onClick="self.close()"> to do
the trick, but some windows are longer than 1 page that a user need to
scroll the window to see it. With the script above, it closes even
when clicked. I took onClick="self.close()" out but it still does the
same thing.
How do I make it so that it only closes when it's not the top window?
Thanks for the help,
liu
don't want extra windows everywhere so I'd like it to auto-close when
it's in the background.
I've found <body onBlur="self.close()" onClick="self.close()"> to do
the trick, but some windows are longer than 1 page that a user need to
scroll the window to see it. With the script above, it closes even
when clicked. I took onClick="self.close()" out but it still does the
same thing.
How do I make it so that it only closes when it's not the top window?
Thanks for the help,
liu