Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
RH2019 Classic or New UI? It's set in the hyperlink properties (but the user's browser settings can overrule it if they want)
Copy link to clipboard
Copied
It's the Classic version. Sorry, not sure how to access the hyperlink properties you're talking about.
Copy link to clipboard
Copied
It's in the screen that appears when you insert the hyperlink
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Are you using the attribute target="_parent" in the link's HTML code?
Copy link to clipboard
Copied
Actually the script was intended to eliminate the target="_blank" attribute
Copy link to clipboard
Copied
Not sure why you need to resort to JS for HTML commands as per https://www.w3schools.com/tags/att_a_target.asp
Copy link to clipboard
Copied
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.