adding a target frame to a hyperlink

H

Heidi

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)

I have a Word document that contains hyperlinks. The hyperlinks include a target frame. When I Save As Web Page, the .htm file contains the hyperlink but not the target.

Looking at the Word document in Word 2008 on the Mac, the field codes look OK. I've links originally created using Word 2003 on the PC with the Target Frame button:

{ HYPERLINK "http://www.foo.foo <http://www.foo.foo>" \t "_parent" }

And, I've links that I've created in Word 2008 on the Mac:

{ HYPERLINK "http://www.foo.foo <http://www.foo.foo>" \n }

When I use File|Save As Web Page, both of these HYPERLINK fields generate hrefs missing the target:

<a href="http://www.foo.foo <http://www.foo.foo>">http://www.foo.foo</a&gt <http://www.foo.foo</a&gt>;

Is there a way to have the generated HTML preserve by target frame?

Thanks,
Heidi
 
J

John McGhie

Hi Heidi:

Not that we have discovered yet.

Save to HTML is fairly badly broken in Office 2008. Sorry.

You will need to edit the generated HTML in a web editor. Or do the job in
Windows Word.

Sorry.


Version: 2008
Operating System: Mac OS X 10.5 (Leopard)

I have a Word document that contains hyperlinks. The hyperlinks include a
target frame. When I Save As Web Page, the .htm file contains the hyperlink
but not the target.

Looking at the Word document in Word 2008 on the Mac, the field codes look OK.
I've links originally created using Word 2003 on the PC with the Target Frame
button:

{ HYPERLINK "http://www.foo.foo <http://www.foo.foo>" \t "_parent" }

And, I've links that I've created in Word 2008 on the Mac:

{ HYPERLINK "http://www.foo.foo <http://www.foo.foo>" \n }

When I use File|Save As Web Page, both of these HYPERLINK fields generate
hrefs missing the target:

<a href="http://www.foo.foo <http://www.foo.foo>">http://www.foo.foo</a&gt
<http://www.foo.foo</a&gt>;

Is there a way to have the generated HTML preserve by target frame?

Thanks,
Heidi

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Microsoft MVP, Word and Word:Mac
Sydney, Australia. mailto:[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top