Skip to main content
Known Participant
February 3, 2023
Question

Want linked page to display in same browser tab

  • February 3, 2023
  • 3 replies
  • 348 views

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.

    This topic has been closed for replies.

    3 replies

    Community Expert
    February 5, 2023

    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.

    Known Participant
    February 3, 2023

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

    Jeff_Coatsworth
    Community Expert
    Community Expert
    February 3, 2023

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

    Known Participant
    February 3, 2023

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


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

    Jeff_Coatsworth
    Community Expert
    Community Expert
    February 3, 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)