Hello Alll,
I currently am using this href script to open windows containing pictures - saves a lot of unnecessary pages. (The unfortunate thing with this is that it leaves a lot of windows open if the user does'nt close them.....)
<a href="picture.jpg"; onClick="window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars=0,resizable=0'); return false;">
anyway, is there a way to add an onBlur="window.self.close()" that will close the window if the user clicks somewhere else?
I'm using this (href script) rather than a .js script as I don't want to intefere with other running scripts on the page.
• idaryl • •
I currently am using this href script to open windows containing pictures - saves a lot of unnecessary pages. (The unfortunate thing with this is that it leaves a lot of windows open if the user does'nt close them.....)
<a href="picture.jpg"; onClick="window.open(this.href, 'popupwindow', 'width=400,height=300,scrollbars=0,resizable=0'); return false;">
anyway, is there a way to add an onBlur="window.self.close()" that will close the window if the user clicks somewhere else?
I'm using this (href script) rather than a .js script as I don't want to intefere with other running scripts on the page.
• idaryl • •
