How do I prevent the closing of the original browser window? Maybe it has
something to do with cache, because most off the people using the website
don't have this problem.
Sorry can't reproduce your problem. Opera and Fire* open a new
tab/window and offer a filedialog (leaving a unused window/tab
cluttering the desktop (very annoying)), mozilla refuses to open a new
window/tab so it doesn't work at all. So how did you test this?
BTW _new is a invalid target:
http://www.w3.org/TR/html4/types.html#h-6.16
Is the browsers you are using actually complying with w3c and ignoring
it!
Either use _blank _or_ the content-disposition to "force" download, not
both.
Hi thanks for the answer. I know _new is not a valid target, but I didn't
mention it...did I? (I used target="_blank")
Maybe you can try the download at the following page :
http://www.charminghotel.be/hotel.php On the left off the page you will
notice the link "download hotel catalogus" (in Dutch). The first time you
click the link, the browser window won't close. Do it again at another page
(e.g. fly & drive), open it and the window closes... at least on my pc it
does SOMETIMES.
Now, it didn't close..but when I closed all my browser windows , opened one
again and downloaded the pdf it closed...
Any suggestions? :-s