I've been to a site before when I downloaded a file by clicking a button (or text) and when the download window popped up, the parent window disappeared, what's the code for that?
<a href="the_file_to_download.xxx" onclick="window.close()">download now</a>
but you'll always have the pop up coming to ask wether the user wants to close the window or not (you can't disbale this pop up unless YOU created the window (using window.open())) - to read more on this subject perform a search on this forum and in the jscript one, there are many threads discussing how to disable this popup
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.