Hi I managed to find a way of opening a PDF in a new window using JavaScript.
I warned the user beforehand and opened the new window at 80% height and width of the original window to show it was a new window.
However I can't seem to control XLS, DOC, RTF documents. These are the issues:
1. Firefox: They always seem to open in a new window anyway.
2. Firefox: Firefox opens a blank window as well when the JavaScript is used.
3. IE and Firefox: I can't seem to control the height and width
Any suggestions (please don't say don't open new windows - I am under instructions to do this).
Well, AFAIK, most browsers don't understand those formats, so they will simply prompt for a file download. Though I have seen IE open certain documents with a sort of embedded Word.
Bookmarks