Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Globally change hyperlinks to open in new window

Mentor ,
Mar 12, 2013 Mar 12, 2013

Hi

I have imported a huge FrameMaker book which has about 30 hyperlinks to URLs spread across multiple topics.

So, is there a way I can globally configure all URLs to open in a new window after importing the book into RH? I did not use target="_blank" in FM hypertext as it was resulting in some formatting error whenever hyperlinks appeared with a custom FM Style.

I am using FM11 with RH10.

Sreekanth

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Sep 04, 2013 Sep 04, 2013

The syntax in FrameMaker should be:

message URL http://myurl.com/index.htm" target="_blank

I am not sure whether it will work in HTML help though.

Sreekanth

Translate
Community Expert ,
Mar 12, 2013 Mar 12, 2013

I’m not sure why it wouldn’t have worked by placing it in the FM source content, but now that it’s in RH, your only choice is to use a find & replace to fix them up I think.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 04, 2013 Sep 04, 2013

How does one use "target=blank" in the FrameMaker 11 hypertext marker syntax?  I currently have a Hypertext tag, with the following contents:

message URL http://www.mylink.com target=blank

When I import this to RoboHelp 10 and generate HTML Help, I get a link of "http://www.mylink.com%20target=blank", which obviously isn't right!

Mind you, will target=blank even work in the standard Microsoft HTML Help viewer anyway?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Sep 04, 2013 Sep 04, 2013

The syntax in FrameMaker should be:

message URL http://myurl.com/index.htm" target="_blank

I am not sure whether it will work in HTML help though.

Sreekanth

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 04, 2013 Sep 04, 2013

Excellent, Sreekanth - that worked perfectly for me. The correct link appears in my .CHM and clicking on it opens it in my PC's default web browser. Many thanks.

(How did you work out that syntax? Is it documented anywhere?) cheers

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Sep 04, 2013 Sep 04, 2013
LATEST

Great!

I found the syntax on these forums somewhere, thanks to some excellent community support here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp