Highlighted

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

353

Likes

Translate

Translate

Report

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

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

354

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 06, 2020 0
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 06, 2020 1
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 06, 2020 0
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 06, 2020 0
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 06, 2020 0
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 06, 2020 0