How to force internet links to open in browser, not inside the HTML Help window?

Participant ,
Feb 06, 2020

Copy link to clipboard

Copied

In my FM2019 document I have a number of links to different web-sites.

Hypertext Command "Go to URL", "message URL https://www.somewhere.com"

If I click the link in the generated pdf file, the link will be opened in my browser.

If I click the link in the generated responsive HTML5 output, the link will be opened in my browser.

But, if I click the link in the generated Windows HTML Help output, the link will be opened inside the HTML Help window, which us obviously a bad choice. How can I make it use the browser instead?

TOPICS
Publishing

Views

371

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Feb 06, 2020

Copy link to clipboard

Copied

Have you tried adding 
target="_blank
to your message URL https://www.example.com line? Don't include the final quote to close the _blank part - that will get added when the HTML is generated.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Feb 06, 2020

Copy link to clipboard

Copied

Hi Jeff,

Unfortunately, it makes no difference.

 

My FM19 Hypertext now looks like:

message URL http://www.somewhere.com target="_blank

 

And the generated HTML Help source comes out as:

<a href="http://www.somewhere.com &quot;target=&quot;_blank">

 

But is still opened inside the HTML Help window. (The pdf and responsive HTML5 output still work fine.)

 

EDIT:

When I check another chm, non-FM19 generated, the generated HTML Help source looks like:

<a href="http://www.somewhere.com" target="_blank">

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Feb 06, 2020

Copy link to clipboard

Copied

And does that non-FM source link open in the browser instead of the CHM shell? If you manually edit the HTML in the CHM does it behave?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Feb 06, 2020

Copy link to clipboard

Copied

Yes, the non-FM19 chm link opens in the browser, just as wanted.

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Feb 06, 2020

Copy link to clipboard

Copied

Ok, so you need to see if FM2019 can generate that sort of link - are you all patched up with the latest? Does that synatx produce the correct HTML if you generate something like HTML5? If that's the case, you should log it as a bug with the FM team (use the Tracker) & they might be able to do something with the way the target= line is created in the CHM. Your immediate workaround is to generate the CHM, then use HTML Workshop to decompile it, fix the HTML links, and recompile it.
btw - why such an ancient format? All the dev is going into HTML5.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Feb 06, 2020

Copy link to clipboard

Copied

Using the FM19 from two weeks ago. (Not the yesterday release.)

I've just sent Adobe support a message. If they have no solution, I'll report a bug.

 

Why chm? Our documentation consists of several chm files, some of them FM-generated, some generated from other tools. We merge them into one common documentation set. After 2 weeks with FM19, I'd also like to go HTML5.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Feb 06, 2020

Copy link to clipboard

Copied

I would update first & try it again - Support is only going to want you to be on the latest version anyways.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Feb 06, 2020

Copy link to clipboard

Copied

I have now updated FM, but there's no change. Same behavior as before.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
kungsgatan AUTHOR LATEST
Participant ,
Feb 12, 2020

Copy link to clipboard

Copied

Support never replied...

Please vote for this to be corrected:

https://tracker.adobe.com/#/view/FRMAKER-7872

 

I guess the FM developers can fix this in 10 minutes, it should be such a minor code change. But for me this is a huge problem.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more