Creating download file on the fly: how do I stop html files opening in current window?
0 posts in topic
Flat View  Flat View

Posted By:   Phil_Gilbert
Posted On:   Tuesday, October 30, 2007 06:41 AM

I'm generating files on the fly (.csv & .html) and want to give the user the option to download the files or open them. This works fine for the csv file as it opens in Excel leaving the application browser window unaffected. The html version however opens in the current window - is there any way of opening it in a new window without the undesired effect of opening a new window in the link (eg target="_blank") which will not be used if the user 'Save's rather than 'Opens'?

About | Sitemap | Contact