Hyperlinking to new window when document is presented in IE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

A hyperlink within a Word document (e.g. to another Word document), with
target set to "_blank", will open the second document in a new Word window,
when the first document is presented by the Word application.

However, the same hyperlink in the same document, but this time when the
document is presented in IE (v6 in this case) instead of Word, does not open
a new window - rather it uses the same window.

Can anyone explain or tell me what I am doing wrong, please?
 
Hello.

By default, if you click on a hyperlink that is linked to another Word
Document (i.e. the destination file) in Word, the destination file will be
displayed in a seperate Word window. This happens even if you don't change
the target frame. (i.e. leave the setting as 'Page Default (none)' )

But for the problem when it is presented in IE, I am wondering how you open
the Word document in IE6 'cause there are a variety of ways to do so.

Did you open the Word file in IE by:

* In Word, choose Web Page Preview from the File menu;
* In Word. transform your Word document into *.HTM by altering the Format in
the Save as ... window; or
* In IE, open the file manually by choosing Open from the File menu?
 
Hi,

In IE, the document is opened via a hyperlink from, say, an index page, i.e.
the document is accessed via its URL. The document is opened within the
browser. Now click on a link within that document to a second document (for
which target set explicitly to '_blank', aka "New window", and not relying on
the default behaviour) and the second document opens in the same window,
regardless. I suspect a problem with Word when running within the browser
frame.

Peter Hunter
 
In that case, you are still using Word to view the *.doc file even if you are
in an IE window. (Take a look at the Task Manager, you will see WINWORD.exe
i.e. MS Word is running)
So Word will ignore the "_blank" command as well.

An alternate approach is to connect the link to a *.htm file, then set up a
redirection pointing to the Word file that you want to be opened.
To create the htm file:

- Launch Notepad
- Type (or copy and paste) the following lines into the file:

<head>
<meta http-equiv="REFRESH" content="0; URL=pages.htm">
</head>
<body>
</body>

- Replace the 'pages.htm' with the Word file name (such as document.doc)
- Replace the '0' with the seconds before viewers are being redirected. (0
is possible)
- Save it. In the Save as type, choose 'All files'
- In the file name, put the file extension at the end of the filename.
(i.e. .htm)
- Save it in the same directory as the destination Word file.
- Then put a link pointing to this htm file in the source Word file.

Then Word in the IE window will open a new window before loading the Word
document.
 
Back
Top