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

Want linked page to display in same browser tab

Explorer ,
Feb 03, 2023 Feb 03, 2023

I am using RoboHelp 2019 and have placed a custom link in my layout. I'd like the page this link acceses to display in the same browser tab. Seems like a simple request but haven't been able to find any RH settings to enable this. Would appreciate any recommendations.

355
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
Community Expert ,
Feb 03, 2023 Feb 03, 2023

RH2019 Classic or New UI? It's set in the hyperlink properties (but the user's browser settings can overrule it if they want)

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 ,
Feb 03, 2023 Feb 03, 2023

It's the Classic version. Sorry, not sure how to access the hyperlink properties you're talking about.

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
Community Expert ,
Feb 03, 2023 Feb 03, 2023

It's in the screen that appears when you insert the hyperlink

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 ,
Feb 03, 2023 Feb 03, 2023

I do see what you're talking about. Unfortunately my link is used as part of a customization to the Indigo layout. Don't see similar options there. I've tried inserting an attribute in the HTML and a Javascript and haven't been able to change the behavior. Thanks.

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
Community Expert ,
Feb 03, 2023 Feb 03, 2023

Are you using the attribute target="_parent" in the link's HTML code?

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 ,
Feb 03, 2023 Feb 03, 2023

Actually the script was intended to eliminate the target="_blank" attribute

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
Community Expert ,
Feb 03, 2023 Feb 03, 2023

Not sure why you need to resort to JS for HTML commands as per https://www.w3schools.com/tags/att_a_target.asp 

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
Community Expert ,
Feb 05, 2023 Feb 05, 2023
LATEST

I think if you change the script to "_parent" as Jeff suggested it might work (or try "_self"). I tried by changing the text in the browser developer tools and that worked, but I admit I don't have a script to try it, but the theory is sound.

 

If that doesn't work you could try editing the usersettings.js file in the screen layout folder. It includes the js for injecting the links (search for customlink_1_text) and you should be able to remove/change the target there. I don't normally suggest editing these files manually, but if you're desperate you can try. Do keep in mind that this change would be unlikely to upgrade successfully in future.

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